Method GetUpDirection
GetUpDirection(GlyphOrientation, out int, out int)
Gets the direction "up" points in for the glyphs themselves — the direction an ascender rises in — as a layout-space unit vector.
public static void GetUpDirection(GlyphOrientation orientation, out int dx, out int dy)
Parameters
orientationGlyphOrientationThe orientation.
dxintReceives the x component, one of -1, 0 or 1.
dyintReceives the y component, one of -1, 0 or 1.