Bill White <[EMAIL PROTECTED]> writes:

> If you have space you should probably add a pitch value.

Space is not an issue, IMO.

> The width is the number of dots on the screen on one line.  The
> pitch is the number of bytes or pixels you need to skip to get to
> the next line.

Okay. It probably should be added for maximum compatibility.

> Finally, if you ever intend to support more than 8BPP graphics
> modes, you should make sure to document whether the pitch and width
> is in bytes or pixels.

I thought this was too obvious to write about, but it should be in
pixels.  However, I agree it should be clearly stated in the
specification to avoid mistakes.

Reply via email to