Re: GdkPoints <--- shorts?



On Wed, Jun 07, 2006 at 08:16:18AM -0400, Fraser Sinclair wrote:
Before calling gdk_draw_polygon and gdk_draw_line we have found it 
necessary to check each point to make sure it doesn't exceed 32000+ to 
avoid random lines and solid/void problems with shapes.  Of course this 
only happens when zooming in on a drawing. GdkPoints are defined as 
"gint" in gdktypes.h.  Is this a bug?

AFAIU it's a limitation in X. But you are right: if gdk accepts ints, it
might as well clip away the ones out of range, at least when the back
end can't cope with this. Hmmm.

Regards
-- tomás


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]