Where's polygon odd/even fill mode?
- From: "HOCHSTETLER, BRUCE W. (JSC-DV3/T) (TSI)" <bruce w hochstetler1 jsc nasa gov>
- To: "'gtk-app-devel-list gnome org'" <gtk-app-devel-list gnome org>
- Subject: Where's polygon odd/even fill mode?
- Date: Thu, 14 Aug 2003 11:26:47 -0500
Hi all,
I'm in the process of porting an X11 app to windows using gtk. This app uses
the XFillPolygon function. This function provides a couple of extra
parameters for filling multiple polygons that cross regions -
XFillPolygon(Display *display, Drawable d, GC gc, XPoint *points, int
npoints, int shape, int mode); The last two parameters are set to 'NonConvex
and CoordModeOrigin'. The effect is the image the polygons are drawing are
completely filled. On windows the SetPolyFillMode method accomplishes the
same thing by setting the fill mode to WINDING.
Where's the same capability in GDK?
The effect I'm getting with the gdk_draw_polygon with fill mode set to True
is a series of polygons that are disconnected and ratty.
Thanks,
Bruce
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]