On 06.08.2008, at 09:43, MacArthur, Ian (SELEX GALILEO, UK) wrote:

>> Any chance of anybody on a mac confirming this? and
>> also enabling quartz and seeing if those artifacts are present? :)
>
> If you can engage Matthias' attention, he's probably the best to  
> really
> grok and fix this one, I guess?
>

I am reading. Quartz uses floating point numbers to calculate lines.  
The plastic scheme is composed by drawing a bunch of lines so that  
they overlap and draw the resulting object. What you (and me too) are  
seeing is an imprecision that made one line move a bit to the right,  
which would not matter in integer math, but generates this artefact if  
using floating point.

Patching coordinates in the plastic box drawing code will temporarily  
fix this, but better would be some pixel-exact drawing on all  
platforms (or using pixmaps instead of drawing lines and arcs).

----
http://robowerk.com/


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to