nanogui: noisy output of nxlib!?
Subject:
Re: [nanogui] noisy output of nxlib!?
From:
"Greg Haerr" ####@####.####
Date:
13 Jul 2004 16:37:35 +0100
Message-Id: <137c01c468ee$cf3e7aa0$0300a8c0@RDP>
: IIUC then Microwindows only draws lines that are 1 pixel thick. Is that
correct?
Yes, unless the thick line patch is applied.
:
: But I don't understand the "Complex vs Convex polygon fill" stuff. Does
that
: mean, the the polygon is not filled at all when running my application on
: microwindows? Or not filled properly?
There's more than one way to fill a polygon. X has two.
Microwindows has one. It will normally always be filled,
but there are differences, it has to do with even/odd winding
rule, you'll want to consult a graphics programming book for
the algorithmic differences.
I added printf() to any cases where Microwindows isn't exactly
emulating the behaviour of Xlib: then you'll know to check
draw output and which routines are called if things don't look right.
It's a QA thing.
Regards,
Greg