Table of Contents

Method GetUpDirection

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

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

orientation GlyphOrientation

The orientation.

dx int

Receives the x component, one of -1, 0 or 1.

dy int

Receives the y component, one of -1, 0 or 1.