mono/xwt — Issue #16: Xwt.Size: Point conversion operator would be nice
Author: lytico
Created: 2012-02-27 22:34:21+00:00
State: open

hello,
would you mind to have a Size-Point-Conversion?
Point.-Size is already here, so ...

public struct Size
{
....

public static explicit operator Point(Size size)
{
return new Point(size.Width, size.Height);
}

---------
Xwt is amazing!
many thanks for it!
I just started to refactor my application to work with xwt, and started a System.Windows.Forms-Backend
(http://limada.git.sourceforge.net/git/gitweb.cgi?p=limada/limada;a=tree;f=src/Xwt.SWF)

so, how is the best way to contribute?
greetings
lytico