Class FontMetrics
public class FontMetrics
- Inheritance
-
FontMetrics
- Inherited Members
Methods
GetApproximateCharWidth(FontMetricsHandle)
Calls native method pango_font_metrics_get_approximate_char_width.
public static extern int GetApproximateCharWidth(FontMetricsHandle metrics)
Parameters
metrics
FontMetricsHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetApproximateDigitWidth(FontMetricsHandle)
Calls native method pango_font_metrics_get_approximate_digit_width.
public static extern int GetApproximateDigitWidth(FontMetricsHandle metrics)
Parameters
metrics
FontMetricsHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetAscent(FontMetricsHandle)
Calls native method pango_font_metrics_get_ascent.
public static extern int GetAscent(FontMetricsHandle metrics)
Parameters
metrics
FontMetricsHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetDescent(FontMetricsHandle)
Calls native method pango_font_metrics_get_descent.
public static extern int GetDescent(FontMetricsHandle metrics)
Parameters
metrics
FontMetricsHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetGType()
Calls native function pango_font_metrics_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetHeight(FontMetricsHandle)
Calls native method pango_font_metrics_get_height. Version: 1.44
[Version("1.44")]
public static extern int GetHeight(FontMetricsHandle metrics)
Parameters
metrics
FontMetricsHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetStrikethroughPosition(FontMetricsHandle)
Calls native method pango_font_metrics_get_strikethrough_position. Version: 1.6
[Version("1.6")]
public static extern int GetStrikethroughPosition(FontMetricsHandle metrics)
Parameters
metrics
FontMetricsHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetStrikethroughThickness(FontMetricsHandle)
Calls native method pango_font_metrics_get_strikethrough_thickness. Version: 1.6
[Version("1.6")]
public static extern int GetStrikethroughThickness(FontMetricsHandle metrics)
Parameters
metrics
FontMetricsHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetUnderlinePosition(FontMetricsHandle)
Calls native method pango_font_metrics_get_underline_position. Version: 1.6
[Version("1.6")]
public static extern int GetUnderlinePosition(FontMetricsHandle metrics)
Parameters
metrics
FontMetricsHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetUnderlineThickness(FontMetricsHandle)
Calls native method pango_font_metrics_get_underline_thickness. Version: 1.6
[Version("1.6")]
public static extern int GetUnderlineThickness(FontMetricsHandle metrics)
Parameters
metrics
FontMetricsHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Ref(FontMetricsHandle)
Calls native method pango_font_metrics_ref.
public static extern FontMetricsOwnedHandle Ref(FontMetricsHandle metrics)
Parameters
metrics
FontMetricsHandleTransfer ownership: None Nullable: True
Returns
- FontMetricsOwnedHandle
Transfer ownership: Full Nullable: True
Unref(FontMetricsHandle)
Calls native method pango_font_metrics_unref.
public static extern void Unref(FontMetricsHandle metrics)
Parameters
metrics
FontMetricsHandleTransfer ownership: None Nullable: True