> > are you passing negative values for (x,y) when drawing? :)
> >
> > solution: copy to offscreen window, then copy the visible portion
> > of the bitmap to (0,0)
>
> my first attempt was using negative x,y value, and when debugging
> realized that was the case, and modified the way things worked, so as
> not to use negative values.
>
> what I am doing now, is exactly as you describe - I create an
> offscreenwindow, which say 350 X 350. then, I try to draw a bitmap
> resource to it at 0,0, which is where I get the ScrDriverNew.c error.
>
> On ROMS which dont give me that error, the bitmap is drawn to the
> offscreen window, and then I calculate a rect type to copy from it
> back to the visible window. everythign works great on 3.3. and 3.5.
i also recall (my memory could be fading) that if you used a
compressed bitmap - it could not be larger than 160x160 :)
> should I be trying to draw to the offscreen window using direct
> buffer access? if so, how?
i dont know enough about your desires.. hence, i cannot answer
your question :)
// az
[EMAIL PROTECTED]
http://www.ardiri.com/ <--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/