"Regis St-Gelais" <[EMAIL PROTECTED]> a �crit dans le message de
news: [EMAIL PROTECTED]
> Luc,
>
> Just for the fun of it, try WinPaintRectangleFrame
>

you can also try WinPaintRoundedRectangleFrame which have width parameter.
Set the corner radius to make it square (0 I think)

------------

WinPaintRectangleFrame( simpleFrame, &bounds) draws a 2-pixel frame,
but WinPaintRoundedRectangleFrame( &bounds, 1, 0, 0 ) draws a 1-pixel frame, 
both calls running in the very same context of active
double-density (I toggled results by commenting out one of these two
consecutive lines.)

Sounds like 2 bugs to me: both WinPaintRectangleFrame and 
WinDrawRectangleFrame are wrong with simpleFrame in hi-res.


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

Reply via email to