There's apparently a bug in 3.0 that's fixed in 3.1. Try this:
void BugTest( void )
{
RectangleType clipRect;
RctSetRectangle( &clipRect, 50, 50, 50, 50 );
WinSetClip( &clipRect );
WinDrawLine( 75, 101, 76, 99 );
}
I'm trying to draw a short angled line from just outside the clip rect to
just inside, on the bottom edge. Instead of getting a tiny clipped line,
I get a longish horizontal line at the bottom of the clip. In 3.1 it
works fine.
Is there a known workaround for this? I'd really like to support 3.0
devices.
Dave Johnson
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/