The principle seems quite clear. How do I apply that to an n sided polygon... Anywhere I can get a hand to an example? Put in a lot of bitmap rectangles of color x and paste them all over where it is necessary to fill. How to decide that?
Sorry I am an amateur at filling algorithm. --- Michael Glickman <[EMAIL PROTECTED]> wrote: > Hi in PalmOS 3.5+ this should be as easy as 123. > > You create a bitmap (colour or monochrome), > associate it with an off-screen > window (See WinCreateBitmapWindow and PalmOS > companion for details) and use > WinCopyRectangle, with 'bitmap' window for source > and display window (see > WinGetDisplayWindow) as target. You need to > replicate WinCopyRectangle in a > loop for tiling. > > With pre-3.5 it is a real pain - please, don't ask > me :-) > > M. > > > -----Original Message----- > From: Kim Hock NG [mailto:[EMAIL PROTECTED]] > Sent: Monday, 14 January 2002 12:17 PM > To: Palm Developer Forum > Subject: Fill Patterns > > > Hi gurus. Is there anyone who has done filling > algorithms on closed polygons? How do I get > different > fill patterns to work on different polygons and how > do > I fill different colors? Any pointers to any good > examples will be appreciated. > > Thanks. > > __________________________________________________ > Do You Yahoo!? > Send FREE video emails in Yahoo! Mail! > http://promo.yahoo.com/videomail/ > > -- > For information on using the Palm Developer Forums, > or to unsubscribe, > please see > http://www.palmos.com/dev/tech/support/forums/ > > -- > For information on using the Palm Developer Forums, > or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
