System.Drawing.Size.ToAvalonia()

Here are the examples of the csharp api class System.Drawing.Size.ToAvalonia() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: AvaloniaEdit
Source File: ExtensionMethods.cs
public static Rect ToAvalonia(this System.Drawing.Rectangle rect)
        {
            return new Rect(rect.Location.ToAvalonia(), rect.Size.ToAvalonia());
        }