On Mon, 22 Aug 2011 00:56:35 -0700, "MacArthur, Ian (SELEX GALILEO, UK)" <[email protected]> wrote:
> >> I think that lines are drawn correctly but I could be wrong on that. >> There is a difference of 1 between line drawing and circle drawing >> coordinates. >> >> It is more annoying than a problem. >> >> Is there some underlying design reason or is it just an oversight. If >> this is an oversight correcting it now would break existing code. >> >> This has existed in Version 1.1.x and 1.3, to my knowledge. > > >Can you run the unittests example from the tests folder, on your various >systems, and see how that behaves. > >That's (supposed) to be the standard check for line drawing consistency >across platforms, and I just tried it and it appears to be OK. You'll >need to try the "rectangles" and the "circles and arcs" pages. Done I did a screen captue from Windows and also Linux. In each case I cropped the image using Paint Shop Pro X. The fl_pie with X11, the ovals do not reach the green rectangke on the right and the bottom (short by 1 pixel). The fl_arc ovals are good for Win32 and X11 as are the circle and circular arcs. The filled circle and filled arcs (fl_pie) are good in Win32. For X11 in all cases the circle and arcs do not reach the bottom or right edges of the green squares (short by 1 pixel) and there is some red. I do not have anti aliasing turned on in the video card (it looks like s**t). _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

