I understand that.

But how do I set the actual shade I want to draw in and how do I draw?  Will
the standard draw functions work?  Do I use WinDrawGrayLine or WinDrawLine?
Do I have to draw right to the screen memory?

I have tried, but whatever I draw always comes out black no matter what
depth I set it to.

TIA
-Mike




"Tom Zerucha" <[EMAIL PROTECTED]> wrote in message news:28321@palm-dev-forum...
>
> On Thu, Oct 26, 2000 at 09:44:32PM -0400, Mike Montalvo wrote:
> > I have a 'rolling graph' that I'd like to put greyscale tic marks on.
> >
> > As far as my understanding goes, greyscale isn't directly supported in
the
> > Palm OS.  I'd like to be able to run my app without having to have ver
3.5.
> > Is there any sample code or documents that explain how to do this?  And
will
> > WinScrollRectangle() scroll the greyscale pixels too?
> >
> > Thanks,
> > Mike
>
> 3.1 (maybe earlier) supports 4 level grayscale.
> 3.2 - ?
> 3.3+ supports 16 level.
>
> This is using the ScrDisplayMode (pre 3.5) or WinDisplayMode (3.5)
> calls - same call, trap, API, different name.
>
> WinScroll* should work on any mode the above calls can access as
> should any other Win call.
>
> (e.g. Visors can do 16 level in hardware, but only 4 in software, so
> the call should work on 4 level, but I haven't verified all the calls).
>
>



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

Reply via email to