>You can either draw in 160x160 coordinates, or you can set the mode to 
>high density and draw to it.  When you do the copy to the main window, 
>you just use the 160x160 coordinates again.

I'm sorry to be so dense...but this information doesn't tell me anything.  If I draw 
in 160x160 coordinates, will the actual DRAWING take place in hi-res?  WHen I call 
WinDrawChars, for example, will it then draw the font in a hi-res font even though I'm 
using 160x160 coordinates?  Or, do I have to set the screen density, and then double 
the coordinates???  Of course, does this make the font, then, half the original size 
instead of just hi-res version of the same on-screen size?  

Same thing for WinDrawLine...If I tell it to draw from 0,0 to 160,160, will it draw in 
2x2 sized pixels on hi-res displays unless I set the screen coordinates to 
double-density?  Or, since I created an off-screen bitmap of native format...will it 
automatically draw the line as I want...which is 1x1 pixel segments?

I would prefer to NOT have to conditionally double every coordinate if I don't have 
to.  I'd rather just be able to keep my code as is in terms of drawing, but have 
hi-res screens take advantage of the hi-resolution!  But, I can't figure that out.

>>I'm not double-buffering.  I just draw the entire graph off-screen and then 
>>copy it on-screen once I have finished the drawing.
>>  
>>
>Yeah, well that's double-buffering.

Oh.  Well, that shows you how much I know about graphics programming!  :-)  


>If you look in the OS companion #1 under "Offscreen Windows" (about p.91 
>in the pdf) and in the API reference for WinCreateOffscreenWindow and 
>WindowFormatType, it actually does explain all I did.

Yes...but, what you have explained so far hasn't really told me much...and neither 
does the companion doc.  I'll re-read it yet again, though, in light of these 
conversations to see if anything makes more sense to me.

BTW, I'm sorry if I sound like I'm picking on you...I'm not really.  I appreciate all 
the help I can get.  It's just so far, I haven't received anything that makes any 
sense TO ME.  Examples would be nice, if I knew where to find some.  

Thanks.

Ryan

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

Reply via email to