diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-03-28 15:24:09 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-03-28 15:24:09 (GMT) |
commit | f3354d608a38ceee396fc4d2f28c069a83346145 (patch) | |
tree | 169d8942f496f46d08869121587fd0b7aca5e727 /tksao/frame/basebox.C | |
parent | 89ffa4a4bf0b10854c25503493fdeeb5235d128e (diff) | |
download | blt-f3354d608a38ceee396fc4d2f28c069a83346145.zip blt-f3354d608a38ceee396fc4d2f28c069a83346145.tar.gz blt-f3354d608a38ceee396fc4d2f28c069a83346145.tar.bz2 |
filled regions rendered XOR as non-filled
Diffstat (limited to 'tksao/frame/basebox.C')
-rw-r--r-- | tksao/frame/basebox.C | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tksao/frame/basebox.C b/tksao/frame/basebox.C index 7d55dc8..f9d5a3e 100644 --- a/tksao/frame/basebox.C +++ b/tksao/frame/basebox.C @@ -50,13 +50,14 @@ void BaseBox::renderX(Drawable drawable, Coord::InternalSystem sys, pp[jj].x = (short)v[0]; pp[jj].y = (short)v[1]; } - renderXDraw(drawable, lgc, pp); + renderXDraw(drawable, lgc, pp, mode); delete [] pp; } deleteVertices(); } -void BaseBox::renderXDraw(Drawable drawable, GC lgc, XPoint* pp) +void BaseBox::renderXDraw(Drawable drawable, GC lgc, XPoint* pp, + RenderMode mode) { XDrawLines(display, drawable, lgc, pp, numPoints_, CoordModeOrigin); } |