C# Class ARCed.UI.DrawHelper

Show file Open project: borisblizzard/arcreator

Public Methods

Method Description
CalculateGraphicsPathFromBitmap ( Bitmap bitmap ) : GraphicsPath
CalculateGraphicsPathFromBitmap ( Bitmap bitmap, Color colorTransparent ) : GraphicsPath
GetRoundedCornerTab ( GraphicsPath graphicsPath, Rectangle rect, bool upCorner ) : GraphicsPath
RtlTransform ( Control control, Point point ) : Point
RtlTransform ( Control control, Rectangle rectangle ) : Rectangle

Method Details

CalculateGraphicsPathFromBitmap() public static method

public static CalculateGraphicsPathFromBitmap ( Bitmap bitmap ) : GraphicsPath
bitmap System.Drawing.Bitmap
return System.Drawing.Drawing2D.GraphicsPath

CalculateGraphicsPathFromBitmap() public static method

public static CalculateGraphicsPathFromBitmap ( Bitmap bitmap, Color colorTransparent ) : GraphicsPath
bitmap System.Drawing.Bitmap
colorTransparent System.Drawing.Color
return System.Drawing.Drawing2D.GraphicsPath

GetRoundedCornerTab() public static method

public static GetRoundedCornerTab ( GraphicsPath graphicsPath, Rectangle rect, bool upCorner ) : GraphicsPath
graphicsPath System.Drawing.Drawing2D.GraphicsPath
rect System.Drawing.Rectangle
upCorner bool
return System.Drawing.Drawing2D.GraphicsPath

RtlTransform() public static method

public static RtlTransform ( Control control, Point point ) : Point
control System.Windows.Forms.Control
point System.Drawing.Point
return System.Drawing.Point

RtlTransform() public static method

public static RtlTransform ( Control control, Rectangle rectangle ) : Rectangle
control System.Windows.Forms.Control
rectangle System.Drawing.Rectangle
return System.Drawing.Rectangle