At 10:52 AM 3/12/2004, you wrote:
Hi,
I'm using a double density (320x320) display, and I want my application to do drawing in native coordinates (1 coord per pixel). Where do I need to call WinSetCoordinateSystem(kCoordinatesDouble)?

You need to do this before any drawing operation, and reset to standard density when you finish. Using the push/pop draw state APIs makes this easy.


The UI controls in the OS do not handle being in any mode other than standard density, so you shouldn't be in other modes when you take any actions that would affect forms or controls.

I also want to be able to receive coordinates from my penDownEvent in native coordinates.

There's a separate call to get pen position using native coordinates. Search the API reference.


-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/


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

Reply via email to