Re: problems when drawing a large canvas item



On Wed, Oct 06, 2004 at 09:06:20AM +0100, Rob Clack wrote:

Specifically, when the box exceeds about 33000 units (world units, I
think) in length, its display becomes erratic

This is a known problem.  The underlying X drawing mechanism uses 16
bit sizes for things.  It's also not terribly smart about clipping
in some versions.  You'll want to only draw the portion of the line
that is actually displayed.  It would be nice if foo/gnome canvas
did this automagicly, but none of us have sat down and written it.




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