C# Class Xwt.GtkBackend.GtkFontBackendHandler

Inheritance: FontBackendHandler
Mostra file Open project: mono/xwt

Public Methods

Method Description
Copy ( object handle ) : object
Create ( string fontName, double size, FontStyle style, FontWeight weight, FontStretch stretch ) : object
GetAvailableFamilyFaces ( string family ) : object>>.IEnumerable
GetFamily ( object handle ) : string
GetInstalledFonts ( ) : IEnumerable
GetSize ( object handle ) : double
GetStretch ( object handle ) : FontStretch
GetStyle ( object handle ) : FontStyle
GetSystemDefaultFont ( ) : object
GetWeight ( object handle ) : FontWeight
RegisterFontFromFile ( string fontPath ) : bool
SetFamily ( object handle, string family ) : object
SetSize ( object handle, double size ) : object
SetStretch ( object handle, FontStretch stretch ) : object
SetStyle ( object handle, FontStyle style ) : object
SetWeight ( object handle, FontWeight weight ) : object

Protected Methods

Method Description
AddFontFile ( string fontPath ) : bool

Private Methods

Method Description
FcConfigAppFontAddFile ( System config, string fontPath ) : bool
GtkFontBackendHandler ( ) : System.Collections.Generic
pango_cairo_font_map_set_default ( System fontmap ) : void

Method Details

AddFontFile() protected method

protected AddFontFile ( string fontPath ) : bool
fontPath string
return bool

Copy() public method

public Copy ( object handle ) : object
handle object
return object

Create() public method

public Create ( string fontName, double size, FontStyle style, FontWeight weight, FontStretch stretch ) : object
fontName string
size double
style FontStyle
weight FontWeight
stretch FontStretch
return object

GetAvailableFamilyFaces() public method

public GetAvailableFamilyFaces ( string family ) : object>>.IEnumerable
family string
return object>>.IEnumerable

GetFamily() public method

public GetFamily ( object handle ) : string
handle object
return string

GetInstalledFonts() public method

public GetInstalledFonts ( ) : IEnumerable
return IEnumerable

GetSize() public method

public GetSize ( object handle ) : double
handle object
return double

GetStretch() public method

public GetStretch ( object handle ) : FontStretch
handle object
return FontStretch

GetStyle() public method

public GetStyle ( object handle ) : FontStyle
handle object
return FontStyle

GetSystemDefaultFont() public method

public GetSystemDefaultFont ( ) : object
return object

GetWeight() public method

public GetWeight ( object handle ) : FontWeight
handle object
return FontWeight

RegisterFontFromFile() public method

public RegisterFontFromFile ( string fontPath ) : bool
fontPath string
return bool

SetFamily() public method

public SetFamily ( object handle, string family ) : object
handle object
family string
return object

SetSize() public method

public SetSize ( object handle, double size ) : object
handle object
size double
return object

SetStretch() public method

public SetStretch ( object handle, FontStretch stretch ) : object
handle object
stretch FontStretch
return object

SetStyle() public method

public SetStyle ( object handle, FontStyle style ) : object
handle object
style FontStyle
return object

SetWeight() public method

public SetWeight ( object handle, FontWeight weight ) : object
handle object
weight FontWeight
return object