Class Functions
- Namespace
- PangoCairo
- Assembly
- PangoCairo-1.0.dll
public static class Functions
- Inheritance
-
Functions
- Inherited Members
Methods
ContextGetFontOptions(Context)
[Version("1.10")]
public static FontOptions? ContextGetFontOptions(Context context)
Parameters
contextContext
Returns
ContextGetResolution(Context)
[Version("1.10")]
public static double ContextGetResolution(Context context)
Parameters
contextContext
Returns
ContextSetFontOptions(Context, FontOptions?)
[Version("1.10")]
public static void ContextSetFontOptions(Context context, FontOptions? options)
Parameters
contextContextoptionsFontOptions
ContextSetResolution(Context, double)
[Version("1.10")]
public static void ContextSetResolution(Context context, double dpi)
Parameters
ContextSetShapeRenderer(Context, ShapeRendererFunc?)
[Version("1.18")]
public static void ContextSetShapeRenderer(Context context, ShapeRendererFunc? func)
Parameters
contextContextfuncShapeRendererFuncA callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).
CreateContext(Context)
[Version("1.22")]
public static Context CreateContext(Context cr)
Parameters
crContext
Returns
CreateLayout(Context)
[Version("1.10")]
public static Layout CreateLayout(Context cr)
Parameters
crContext
Returns
ErrorUnderlinePath(Context, double, double, double, double)
[Version("1.14")]
public static void ErrorUnderlinePath(Context cr, double x, double y, double width, double height)
Parameters
FontMapGetDefault()
[Version("1.10")]
public static FontMap FontMapGetDefault()
Returns
FontMapNew()
[Version("1.10")]
public static FontMap FontMapNew()
Returns
FontMapNewForFontType(FontType)
[Version("1.18")]
public static FontMap? FontMapNewForFontType(FontType fonttype)
Parameters
fonttypeFontType
Returns
GlyphStringPath(Context, Font, GlyphString)
[Version("1.10")]
public static void GlyphStringPath(Context cr, Font font, GlyphString glyphs)
Parameters
crContextfontFontglyphsGlyphString
LayoutLinePath(Context, LayoutLine)
[Version("1.10")]
public static void LayoutLinePath(Context cr, LayoutLine line)
Parameters
crContextlineLayoutLine
LayoutPath(Context, Layout)
[Version("1.10")]
public static void LayoutPath(Context cr, Layout layout)
Parameters
ShowErrorUnderline(Context, double, double, double, double)
[Version("1.14")]
public static void ShowErrorUnderline(Context cr, double x, double y, double width, double height)
Parameters
ShowGlyphItem(Context, string, GlyphItem)
[Version("1.22")]
public static void ShowGlyphItem(Context cr, string text, GlyphItem glyphItem)
Parameters
ShowGlyphString(Context, Font, GlyphString)
[Version("1.10")]
public static void ShowGlyphString(Context cr, Font font, GlyphString glyphs)
Parameters
crContextfontFontglyphsGlyphString
ShowLayout(Context, Layout)
[Version("1.10")]
public static void ShowLayout(Context cr, Layout layout)
Parameters
ShowLayoutLine(Context, LayoutLine)
[Version("1.10")]
public static void ShowLayoutLine(Context cr, LayoutLine line)
Parameters
crContextlineLayoutLine
UpdateContext(Context, Context)
[Version("1.10")]
public static void UpdateContext(Context cr, Context context)
Parameters
UpdateLayout(Context, Layout)
[Version("1.10")]
public static void UpdateLayout(Context cr, Layout layout)