hi there!
this is second time i am posting this, cause there seems to be some 
misunderstanding in that message

here is the page for the below snippet
http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_sid=IulQM8Hh&p_lva=139&p_faqid=341&p_created=1033750553&p_sp=cF9zcmNoPTEmcF9ncmlkc29ydD0mcF9yb3dfY250PTI0JnBfc2VhcmNoX3RleHQ9Yml0bWFwJnBfc2VhcmNoX3R5cGU9MyZwX3Byb2RfbHZsMT1_YW55fiZwX2NhdF9sdmwxPX5hbnl_JnBfc29ydF9ieT1kZmx0JnBfcGFnZT0x&p_li=

answer ID 341

Q: How do I draw to the native coordinate system? 

If the application wanted to handle high-density screens specifically, it would 
do so by calling WinSetCoordinateSystem() to switch into the "native" 
coordinate system. In that system, coordinates exactly match the pixels on the 
screen. This will be done by applications such as graphic editors so they can 
place pixels with maximum precision. It is not necessary to change coordinate 
systems to draw bitmaps, because if a bitmap family includes a high-density 
member, the OS will automatically draw it, or else will convert the best 
available bitmap to the screen's format. 

Note that this means you will not be able to draw a low density bitmap as a 
quarter size small bitmap on a high density screen by simply calling 
WinSetCoordinateSystem before the draw. You would need to create a nativeFormat 
offscreen windows and then set the offscreen window's bitmap to low density. 
Draw the bitmap and then set the offscreen window's bitmap back to high 
density. Finally copy from this window to the screen to get the desired effect. 


from what is being said, if i want to draw a quarter size bitmap i need to 
create a nativeFormat offscreen window then set the window's bitmap to low 
density.

now the question, what does the faq mean by window's bitmap? copy the bitmap to 
the window therefore being called window's bitmap? and how to set it to low 
density?

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

Reply via email to