nn::font::CTR::TextWriterBase::PositionFlag Enumerated Type

Syntax

enum PositionFlag;

Value

Value Description
HORIZONTAL_ALIGN_LEFT Left-aligns multiple lines of text.
HORIZONTAL_ALIGN_CENTER Centers multiple lines of text.
HORIZONTAL_ALIGN_RIGHT Right-aligns multiple lines of text.
HORIZONTAL_ALIGN_MASK
HORIZONTAL_ORIGIN_LEFT Places the origin at the left edge of the text.
HORIZONTAL_ORIGIN_CENTER Places the origin at the horizontal center of the text.
HORIZONTAL_ORIGIN_RIGHT Places the origin at the right edge of the text.
HORIZONTAL_ORIGIN_MASK
VERTICAL_ORIGIN_TOP Places the origin at the top of the text.
VERTICAL_ORIGIN_MIDDLE Places the origin at the vertical center of the text.
VERTICAL_ORIGIN_BOTTOM Places the origin at the baseline of the first line of text.
VERTICAL_ORIGIN_BASELINE Places the origin at the bottom of the text.
VERTICAL_ORIGIN_MASK

Description

Text drawing flags used by the SetDrawFlag function for string placement.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL