I call WinSetCoordinateSystem(kDensityDouble) and I can use functions like WinDrawLine on my high-density windows, but when I use WinDrawBitmap(...) it doubles the pixels so the image it draws looks low-res.
Here's the code.
MemHandle handle = DmGetResource(bitmapRsc, 1000); BitmapType *bitmap = (BitmapPtr)MemHandleLock(handle); WinDrawBitmap(bitmap, 0, 0); MemHandleUnlock(handle); DmReleaseResource(handle);
This is what I'm including in my .rcp file for PilRC. BITMAPCOLOR16K ID 1000 "Image.bmp" COMPRESS BPP 16 DENSITY 144
What am I doing wrong?
Have you read
http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_faqid=341
There are questions and answers in this article that deal specifically with your question.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
