C# Class PixelFarm.Drawing.Conv

conversion helper
显示文件 Open project: prepare/HTML-Renderer

Public Methods

Method Description
ToPoint ( this pointf ) : PixelFarm.Drawing.Point
ToPoint ( this point ) : System.Drawing.Point
ToPointF ( this pointf ) : PixelFarm.Drawing.PointF
ToPointF ( this pointf ) : System.Drawing.PointF
ToRect ( this rect ) : PixelFarm.Drawing.Rectangle
ToRect ( this rect ) : System.Drawing.Rectangle
ToRectF ( this rect ) : PixelFarm.Drawing.RectangleF
ToRectF ( this rect ) : System.Drawing.RectangleF
ToSize ( this size ) : PixelFarm.Drawing.Size
ToSize ( this size ) : System.Drawing.Size
ToSizeF ( this size ) : PixelFarm.Drawing.SizeF
ToSizeF ( this size ) : System.Drawing.SizeF

Method Details

ToPoint() public static method

public static ToPoint ( this pointf ) : PixelFarm.Drawing.Point
pointf this
return PixelFarm.Drawing.Point

ToPoint() public static method

public static ToPoint ( this point ) : System.Drawing.Point
point this
return System.Drawing.Point

ToPointF() public static method

public static ToPointF ( this pointf ) : PixelFarm.Drawing.PointF
pointf this
return PixelFarm.Drawing.PointF

ToPointF() public static method

public static ToPointF ( this pointf ) : System.Drawing.PointF
pointf this
return System.Drawing.PointF

ToRect() public static method

public static ToRect ( this rect ) : PixelFarm.Drawing.Rectangle
rect this
return PixelFarm.Drawing.Rectangle

ToRect() public static method

public static ToRect ( this rect ) : System.Drawing.Rectangle
rect this
return System.Drawing.Rectangle

ToRectF() public static method

public static ToRectF ( this rect ) : PixelFarm.Drawing.RectangleF
rect this
return PixelFarm.Drawing.RectangleF

ToRectF() public static method

public static ToRectF ( this rect ) : System.Drawing.RectangleF
rect this
return System.Drawing.RectangleF

ToSize() public static method

public static ToSize ( this size ) : PixelFarm.Drawing.Size
size this
return PixelFarm.Drawing.Size

ToSize() public static method

public static ToSize ( this size ) : System.Drawing.Size
size this
return System.Drawing.Size

ToSizeF() public static method

public static ToSizeF ( this size ) : PixelFarm.Drawing.SizeF
size this
return PixelFarm.Drawing.SizeF

ToSizeF() public static method

public static ToSizeF ( this size ) : System.Drawing.SizeF
size this
return System.Drawing.SizeF