Class Font
public class Font
- Inheritance
-
Font
- Inherited Members
Methods
Describe(IntPtr)
Calls native method pango_font_describe.
public static extern FontDescriptionOwnedHandle Describe(IntPtr font)
Parameters
font
IntPtrTransfer ownership: None Nullable: False
Returns
- FontDescriptionOwnedHandle
Transfer ownership: Full Nullable: False
DescribeWithAbsoluteSize(IntPtr)
Calls native method pango_font_describe_with_absolute_size. Version: 1.14
[Version("1.14")]
public static extern FontDescriptionOwnedHandle DescribeWithAbsoluteSize(IntPtr font)
Parameters
font
IntPtrTransfer ownership: None Nullable: False
Returns
- FontDescriptionOwnedHandle
Transfer ownership: Full Nullable: False
DescriptionsFree(ref IntPtr, int)
Calls native function pango_font_descriptions_free.
public static extern void DescriptionsFree(ref IntPtr descs, int nDescs)
Parameters
descs
IntPtrTransfer ownership: Full Nullable: True
nDescs
intTransfer ownership: None Nullable: False
Deserialize(IntPtr, BytesHandle, out ErrorOwnedHandle)
Calls native function pango_font_deserialize. Version: 1.50
[Version("1.50")]
public static extern IntPtr Deserialize(IntPtr context, BytesHandle bytes, out ErrorOwnedHandle error)
Parameters
context
IntPtrTransfer ownership: None Nullable: False
bytes
BytesHandleTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: True
GetCoverage(IntPtr, LanguageHandle)
Calls native method pango_font_get_coverage.
public static extern IntPtr GetCoverage(IntPtr font, LanguageHandle language)
Parameters
font
IntPtrTransfer ownership: None Nullable: False
language
LanguageHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
GetFace(IntPtr)
Calls native method pango_font_get_face. Version: 1.46
[Version("1.46")]
public static extern IntPtr GetFace(IntPtr font)
Parameters
font
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetFeatures(IntPtr, feature_tArrayHandle, uint, ref uint)
Calls native method pango_font_get_features. Version: 1.44
[Version("1.44")]
public static extern void GetFeatures(IntPtr font, feature_tArrayHandle features, uint len, ref uint numFeatures)
Parameters
font
IntPtrTransfer ownership: None Nullable: False
features
feature_tArrayHandleTransfer ownership: None Nullable: False
len
uintTransfer ownership: None Nullable: False
numFeatures
uintTransfer ownership: Full Nullable: False
GetFontMap(IntPtr)
Calls native method pango_font_get_font_map. Version: 1.10
[Version("1.10")]
public static extern IntPtr GetFontMap(IntPtr font)
Parameters
font
IntPtrTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetGType()
Calls native function pango_font_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetGlyphExtents(IntPtr, Glyph, RectangleOwnedHandle, RectangleOwnedHandle)
Calls native method pango_font_get_glyph_extents.
public static extern void GetGlyphExtents(IntPtr font, Glyph glyph, RectangleOwnedHandle inkRect, RectangleOwnedHandle logicalRect)
Parameters
font
IntPtrTransfer ownership: None Nullable: True
glyph
GlyphTransfer ownership: None Nullable: False
inkRect
RectangleOwnedHandleTransfer ownership: None Nullable: False
logicalRect
RectangleOwnedHandleTransfer ownership: None Nullable: False
GetHbFont(IntPtr)
Calls native method pango_font_get_hb_font. Version: 1.44
[Version("1.44")]
public static extern font_tUnownedHandle GetHbFont(IntPtr font)
Parameters
font
IntPtrTransfer ownership: None Nullable: False
Returns
- font_tUnownedHandle
Transfer ownership: None Nullable: True
GetMetrics(IntPtr, LanguageHandle)
Calls native method pango_font_get_metrics.
public static extern FontMetricsOwnedHandle GetMetrics(IntPtr font, LanguageHandle language)
Parameters
font
IntPtrTransfer ownership: None Nullable: True
language
LanguageHandleTransfer ownership: None Nullable: True
Returns
- FontMetricsOwnedHandle
Transfer ownership: Full Nullable: False
HasChar(IntPtr, uint)
Calls native method pango_font_has_char. Version: 1.44
[Version("1.44")]
public static extern bool HasChar(IntPtr font, uint wc)
Parameters
font
IntPtrTransfer ownership: None Nullable: False
wc
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Serialize(IntPtr)
Calls native method pango_font_serialize. Version: 1.50
[Version("1.50")]
public static extern BytesOwnedHandle Serialize(IntPtr font)
Parameters
font
IntPtrTransfer ownership: None Nullable: False
Returns
- BytesOwnedHandle
Transfer ownership: Full Nullable: False