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 X coordinate where drawing starts.
yOrigin Y coordinate where drawing starts.

Member Variables

writer Pointer to TextWriter being used to draw the character string.
str Pointer to the character string being drawn.
flags The OR for TextWriter::ContextFlag.

Member Functions

PrintContext

CONFIDENTIAL