-----Original Message-----
From: Gavin Maxwell [mailto:[EMAIL PROTECTED]]
Sent: Monday, 14 January 2002 3:39 PM
To: Palm Developer Forum
Subject: RE: Fill Patterns


> Gets tricky for multiline patterns though. Better off applying the pattern
> to each pixel of the fill based on the pattern array using fill(x,y) =
> pattern((x mod m), (y mod n)). Works nicely for any size pattern then.

Oh, yes

Still can't get used to Palm philosophy.

For a PC you prefer line-to-line copy to pixel-by-pixel processing, because
many graphic cards provide hardware acceleration for blits (including
off-screen ones), and even without hardware accel you have an advantage for
having less calls to the kernel (sorry Joe, but for Windows this is really
crucial).

For Palm, line copy will probably be not much more efficient than
pixel-by-pixel, though you still have less system calls...

Michael
 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to