Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
4502372f
Commit
4502372f
authored
Aug 20, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Grid draw improved
parent
b1020a09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
xtt/lib/glow/gtk/glow_draw_gtk.cpp
xtt/lib/glow/gtk/glow_draw_gtk.cpp
+8
-7
xtt/lib/glow/motif/glow_draw_xlib.cpp
xtt/lib/glow/motif/glow_draw_xlib.cpp
+6
-5
No files found.
xtt/lib/glow/gtk/glow_draw_gtk.cpp
View file @
4502372f
/*
* Proview $Id: glow_draw_gtk.cpp,v 1.
7 2007-08-20 08:23:16
claes Exp $
* Proview $Id: glow_draw_gtk.cpp,v 1.
8 2007-08-20 08:32:54
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -2292,13 +2292,14 @@ int GlowDrawGtk::draw_points( GlowWind *wind, glow_sPointX *points, int point_nu
set_clip
(
w
,
get_gc
(
this
,
gc_type
,
0
));
GdkPoint
*
gpoints
=
points_to_gdk_points
(
points
,
point_num
);
gdk_draw_points
(
w
->
window
,
get_gc
(
this
,
gc_type
,
0
),
gpoints
,
point_num
);
if
(
!
w
->
draw_buffer_only
)
gdk_draw_points
(
w
->
window
,
get_gc
(
this
,
gc_type
,
0
),
gpoints
,
point_num
);
if
(
w
->
double_buffer_on
)
gdk_draw_points
(
w
->
buffer
,
get_gc
(
this
,
gc_type
,
0
),
gpoints
,
point_num
);
get_gc
(
this
,
gc_type
,
0
),
gpoints
,
point_num
);
free
(
gpoints
);
if
(
w
->
clip_on
)
...
...
@@ -2508,7 +2509,7 @@ int GlowDrawGtk::print( char *filename, double x0, double x1, int end)
if
(
new_file
)
{
ps
->
fp
<<
"%!PS-Adobe-2.0 EPSF-1.2"
<<
endl
<<
"%%Creator: Proview $Id: glow_draw_gtk.cpp,v 1.
7 2007-08-20 08:23:16
claes Exp $ Glow"
<<
endl
<<
"%%Creator: Proview $Id: glow_draw_gtk.cpp,v 1.
8 2007-08-20 08:32:54
claes Exp $ Glow"
<<
endl
<<
"%%EndComments"
<<
endl
<<
endl
;
}
else
...
...
xtt/lib/glow/motif/glow_draw_xlib.cpp
View file @
4502372f
/*
* Proview $Id: glow_draw_xlib.cpp,v 1.
7 2007-08-20 08:23:16
claes Exp $
* Proview $Id: glow_draw_xlib.cpp,v 1.
8 2007-08-20 08:32:54
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -2477,9 +2477,10 @@ int GlowDrawXLib::draw_points( GlowWind *wind, glow_sPointX *points, int point_n
if
(
w
->
clip_on
)
set_clip
(
w
,
get_gc
(
this
,
gc_type
,
0
));
XDrawPoints
(
display
,
w
->
window
,
get_gc
(
this
,
gc_type
,
0
),
(
XPoint
*
)
points
,
point_num
,
CoordModeOrigin
);
if
(
!
w
->
draw_buffer_only
)
XDrawPoints
(
display
,
w
->
window
,
get_gc
(
this
,
gc_type
,
0
),
(
XPoint
*
)
points
,
point_num
,
CoordModeOrigin
);
if
(
w
->
double_buffer_on
)
XDrawPoints
(
display
,
w
->
buffer
,
get_gc
(
this
,
gc_type
,
0
),
...
...
@@ -2720,7 +2721,7 @@ int GlowDrawXLib::print( char *filename, double x0, double x1, int end)
if
(
new_file
)
{
ps
->
fp
<<
"%!PS-Adobe-2.0 EPSF-1.2"
<<
endl
<<
"%%Creator: Proview $Id: glow_draw_xlib.cpp,v 1.
7 2007-08-20 08:23:16
claes Exp $ Glow"
<<
endl
<<
"%%Creator: Proview $Id: glow_draw_xlib.cpp,v 1.
8 2007-08-20 08:32:54
claes Exp $ Glow"
<<
endl
<<
"%%EndComments"
<<
endl
<<
endl
;
}
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment