UInt8 *bitsSrc = BmpGetBits(WinGetBitmap(srcWinHandle));
UInt8 *bitsDst = BmpGetBits(WinGetBitmap(dstWinHandle));

now loop through the pixels of bitsSrc and copy them to bitsDst.

markus dresch (www.palmside.com)

"Todd Walk" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:100770@;palm-dev-forum...
>
> I need to horizontally flip many small bitmaps quickly.
> Doing this with api calls of WinGetPixel, WinSetPixel, and
> WinSetForeColor seems like they would be really slow.
>
> So I've got a small offscreen window, and I need to
> access the data quickly to flip the bitmap.  Can I access
> it directly?  How?  Is doing this portable?
>
> Todd.
>
>



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

Reply via email to