nanogui: bitmap data from GrBitmap
Subject:
Re: [nanogui] bitmap data from GrBitmap
From:
"Ikhwani, Ikhwani" ####@####.####
Date:
3 Dec 2002 12:01:01 -0000
Message-Id: <200212031255.32723.ikhwani.ikhwani@bizerba.com>
Hello,
Thank you for your answer.
BTW, I just looked at the function GrNewBitmapFromData of version 0.89,
the implementations for both byte-swap and not are the same.
Is that a "copy-paste bug", or am I missing something here?
Regards,
Ikhwani
On Monday 02 December 2002 18:15, Greg Haerr wrote:
>
> A GR_BITMAP is actually just an array of unsigned shorts
> (with 0-padded bits to the nearest 16-bits). You can
> access it directly, as an array. The bitmap starts with the
> top line, and continues for each scan line.
>