-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xwt.Size: Point conversion operator would be nice #16
Comments
Size-Point conversion is something I can add. I'm glad you find XWT useful! If you want to contribute, the best way to do it is to fork xwt to your own github account and then provide the changes through pull requests. |
Could you give an example of a situation in which this feature would simplify something? |
mostly by adapting graphic libs to xwt, as |
pull request did a new issue: |
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
The text was updated successfully, but these errors were encountered: