Sorry, my fault.
Once (long ago) I did something for myself: go along sides changing the gradient from time to time. Works really fast, but not quite a professional solution. Now you can really search for something that works on non-convex piloygons and can be applied with fill patterns. Please, tell me if you find something relevant. Michael -----Original Message----- From: Gavin Maxwell [mailto:[EMAIL PROTECTED]] Sent: Monday, 14 January 2002 1:45 PM To: Palm Developer Forum Subject: RE: Fill Patterns Nice for rectagular shapes Michael, but not for "closed polygons" in general (ie won't work for a hexagon etc). There are generic algorithms for this sort of thing available. Try google. Gavin. -----Original Message----- From: Michael Glickman [mailto:[EMAIL PROTECTED]] Sent: Monday, 14 January 2002 1:33 PM To: Palm Developer Forum Subject: RE: Fill Patterns 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/ -- 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/
