Hi,

I also have the same problem i.e. doing pixel drawing
by default routine result unsatisfied.

1. what do you mean 'direct pixel access'? how to work
with that?

2. currently i also have problem with coloring. How to
create colortable to BitmapType (bitmaptype was
created by code)?
I try this way:
  a. Create BitmapType* with colortable = NULL
  b. create winoffscreen to wrap it and set is as
active draw Window
  c. assign color 'WinSetForeColor' or
'WinSetForeColorRGB' then draw/paint pixel
  d. The result...the color doenst match and 

However, the performance of using draw pixel/paint
pixels is very slow....dont know yet how to achieve
it.

please help.
 
Please advice. thanks

Peter

--- Tim Kostka <[EMAIL PROTECTED]> wrote:
> As Aaron stated below, direct screen access is the
> fastest way to put pixels
> into memory.  However, it can cause problems if your
> pixel data and screen
> data aren't the same bpp.  You will either have to
> code your program to
> detect the bpp settings or make sure the device is
> always in the same
> setting.
> 
> If you want to go this route, look into pixel format
> for the different bpp
> settings.  Also, look at WinGetBitmap and BmpGetBits
> to retrieve the pixel
> data for whatever window you are interested in
> changing.
> 



        
                
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

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

Reply via email to