nw::font::PrintContext Structure

Syntax

template <typename CharType>
struct PrintContext
{
   TextWriterBase< CharType > * writer;
   const CharType * str;
   u32 flags;
};

Template Arguments

Name Description
CharType

Description

Member Constants

xOrigin const f32 X coordinate where drawing starts.
yOrigin const f32 Y coordinate where drawing starts.

Member Variables

writer TextWriterBase< CharType > * Pointer to TextWriter being used to draw the character string.
str const CharType * Pointer to the character string being drawn.
flags u32 The OR for TextWriter::ContextFlag.

Member Functions

PrintContext

CONFIDENTIAL