1) I don't see it documented, but it appears that the pattern must be 
winPatternBlack in order to use winSwap mode.

2) If I try using one of WinPaintChar, WinPaintChars, WinPaintLine,
WinPaintLines, I get the following error:

Blitter.c, Line 4117: Unsupported transfer mode


WinPaintPixel, and WinPaintPixels don't complain, but don't appear to do
anything.

Here's an example of the code I use to test WinPaintChars:

   WinPushDrawState();
   WinSetDrawMode(winSwap);
   WinSetPatternType (blackPattern);
   WinSetBackColor(UIColorGetTableEntryIndex(UIFieldBackground));
   WinSetTextColor(UIColorGetTableEntryIndex(UIFieldText));
   WinPaintChars("abc", 3, 100, 100);
   WinPopDrawState();  

Anyone used winSwap with anything other than the rectangle routines?

Configuration:
    POSE 3.0a5 on Mac configured with:
        3.5 debug color ROM
        Palm IIIc device
        8 Mb RAM

Neil
--
Neil Rhodes
Calliope Enterprises, Inc.
1328 Clock Avenue
Redlands, CA  92374
(909) 793-5995     [EMAIL PROTECTED]      fax: (909) 793-2545
x

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

Reply via email to