Hello. I seem to have reached difficult problem.
How do I draw a filled rectangle that woks in XOR mode.
i.e does not overwrite the pixels below, but inverts them
Following code does not seem to work
Paint.Begin(DrawingArea1)
Paint.Operator = Paint.OperatorXor
Paint.Brush = Paint.Color(Color.Red)
Paint.Rectangle(0, 0, 100, 100)
Paint.Stroke
I have some VB6 code using
Drawmode = vbXorPen
I need it to be converted to gambas
Any help???? Thanks.
--
View this message in context:
http://old.nabble.com/Rectangle-Problem-tp32180334p32180334.html
Sent from the gambas-user mailing list archive at Nabble.com.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user