Dear All,

Sorry to pester everyone by bumping this, but I'm sure *somebody* can give 
me some advice on the topics below!

The original post was as follows:-

Dear All,

Hi! I have some questions regarding improving the performance of certain
graphical tasks. All questions below currently concern *colour*
handhelds/OS's only. I know that similar questions have been dealt with
before in the archives, but I couldn't find a satisfactory answer...

I'm writing an app that would benefit from fast plotting of pixels to
windows, and WinDraw/PaintPixel (and it's companion, WinDraw/PaintPixels)
are all much too slow. On my Palm IIIc, I used direct bit manipulation of
the window memory, getting a performance boost by a factor of 2 - 5 times.
I realise, however, that this will not work for all Palm handhelds on the
market (and certainly not for those released in the future) so I wondered if
they are any libraries available that allowing very fast placing of a
coloured pixel into screen memory, which are compatible with all current
PalmOS devices? I realise that the direct-screen-writing method is frowned
upon, but the API functions are so slow!!!

Failing that, is there a way of specifying the masking colour with processes
like WinCopyRectangle? What I really would like to do is to copy a portion
of a window onto another window, where the copied portion contains the
colour white (on PalmIIIc, white has colour index 0). However, it seems
that colour index 0 is precisely the colour that is "ignored" (i.e. treated
as the mask(?) - is that the correct phrase?) with WinCopyRectangle and
WinDrawOperation set to winMask! [Matching colour depths is not an issue
here].

Any help with any of these matters would be greatly appreciated.

Thanks in advance,
Simon St James
[EMAIL PROTECTED]

Addendum:-

Also, can anyone settle this question once and for all (I've heard many 
conflicting replies!):-

Is the preference information for an app (set with PrefSetAppPreferences) 
deleted when the application is deleted?  Is there anyway to modify this?  
Basically, if anyway can point me towards information about what happens 
with app preferences on uninstall, that would be very helpful.

Cheers again,
Simon


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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

Reply via email to