I will try this, do you have also an idea of clearing only the pixels
outside the region of the roundrect?
Op 12-jan-2007, om 17:45 heeft Jonathan Johnson het volgende geschreven:
Sub ClearInvertedRoundRect( extends g as Graphics, x as Integer, y
as Integer, width as Integer, height as Integer, arcWidth as
Integer, arcHeight as Integer )
dim maskedPicture as new Picture( g.Width, g.Height, 32 )
maskedPicture.Mask.Graphics.ForeColor = &cFFFFFF
maskedPicture.Mask.Graphics.FillRoundRect( x, y, width, height,
arcWidth, arcHeight )
g.DrawPicture maskedPicture, 0, 0
End Sub
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>