C# Class Pinta.Core.GdkExtensions

显示文件 Open project: xxgreg/Pinta

Public Methods

Method Description
Center ( this rect ) : Gdk.Point
GetBounds ( this w ) : Gdk.Rectangle
GetCairoColor ( this selection ) : Cairo.Color
Invalidate ( this w ) : void
ToBgraColor ( this color ) : ColorBgra
ToCairoColor ( this color ) : Cairo.Color

Method Details

Center() public static method

public static Center ( this rect ) : Gdk.Point
rect this
return Gdk.Point

GetBounds() public static method

public static GetBounds ( this w ) : Gdk.Rectangle
w this
return Gdk.Rectangle

GetCairoColor() public static method

public static GetCairoColor ( this selection ) : Cairo.Color
selection this
return Cairo.Color

Invalidate() public static method

public static Invalidate ( this w ) : void
w this
return void

ToBgraColor() public static method

public static ToBgraColor ( this color ) : ColorBgra
color this
return ColorBgra

ToCairoColor() public static method

public static ToCairoColor ( this color ) : Cairo.Color
color this
return Cairo.Color