C# Class ARCed.UI.DrawHelper

Afficher le fichier Open project: borisblizzard/arcreator

Méthodes publiques

Méthode 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 méthode

public static CalculateGraphicsPathFromBitmap ( Bitmap bitmap ) : GraphicsPath
bitmap System.Drawing.Bitmap
Résultat System.Drawing.Drawing2D.GraphicsPath

CalculateGraphicsPathFromBitmap() public static méthode

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

GetRoundedCornerTab() public static méthode

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

RtlTransform() public static méthode

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

RtlTransform() public static méthode

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