Are there any guarantees about when the bitmap header and data will and
won't be contiguous?

The OS 5 documentation says that the indirect flag "is supported for bitmaps
created by Palm OS only; this flag is not used in user-created bitmap
resources."

"User-created bitmap resources" applies to bitmaps generated by BmpCreate
and WinCreateOffscreenWindow, not just static resources generated at
compile-time, right?

Does "not used" mean that user-created bitmap resources are always
contiguous or always discontiguous?

Thanks.


"David Fedor" <[EMAIL PROTECTED]> wrote in message
news:89384@palm-dev-forum...
>
> The problem is that you're assuming that all the data of a bitmap is
> contiguous in memory. That isn't necessarily the case: the header of a
> bitmap can sometimes be a different memory chunk from the bits that make
it
> up.  The header sometimes contains a pointer to the bits, and sometimes it
> follows it directly in memory.



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

Reply via email to