CartoType API
Public Types | Public Member Functions | Public Attributes
CartoType::TTypefaceInstance Class Reference

#include <cartotype_graphics.h>

List of all members.

Public Types

enum  { EAntiAlias = 1 }

Public Member Functions

bool operator== (const TTypefaceInstance &aInstance) const
bool operator!= (const TTypefaceInstance &aInstance) const
CT_IMPORT void SetToSize (TFixed aSize)

Public Attributes

TFixed iSize
TTransform iTransform
uint32 iFlags

Detailed Description

The changeable attributes of a typeface that determine how it creates glyphs.


Member Enumeration Documentation

anonymous enum

Flags used in iFlags.


Member Function Documentation

CT_EXPORT void TTypefaceInstance::SetToSize ( TFixed  aSize)

Set a typeface instance's size in pixels per em to aSize and reset the font transform to identity.


Member Data Documentation

Flags controlling anti-aliasing and glyph effects.

The size in pixels per em, before any transform is applied.

The transform used to apply rotation and slant. This transform also affects the baseline.


The documentation for this class was generated from the following files: