Table of Contents

Method GetBaselineDirection

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

GetBaselineDirection(GlyphOrientation, out int, out int)

Gets the direction the baseline advances in, as a layout-space unit vector.

public static void GetBaselineDirection(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.