On 12/8/06, Christian Giordano <[EMAIL PROTECTED]> wrote:
I'm still struggling on understanding how to modify the blend an image
over an OffScreenWindow. To make like easier, since the background is
black, I reckon the way could be after I draw the image on the OffScreen
Window, to make the OffScreenWindow more or less darker. Easy, isn't i? :D
Well, of course not for me since I'm a beginner in C. I can understand
how the bit works, but I still don't have so much clue how to get to the
pixels. I presume there is an array of bits that I can modify, how to
get to this array of bits?
As far as I understood I could get the bitmap doing:
BitmapPtr bmp = WinGetBitmap(myOffScreenWindow);
I can't find from the api the function to get the bits from a BitmapPtr.
Any help will be very appreciated.
BmpGetBits?
you might want to search those docs just a *little* harder next time.
eventually; you'll learn the API naming technique - but, the basic
summary is this:
{Object}{Verb}{Element}
ie:
Win - Get - Bitmap
Bmp - Get - Bits
Frm - Get - Active Form
etc.. eventually; you'll be able to guess the API names without even
thinking about it!
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/