CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_graphics_context.h>
Public Member Functions | |
bool | operator== (const TypefaceInstance &aInstance) const |
bool | operator!= (const TypefaceInstance &aInstance) const |
void | SetToSize (double aSize) |
Public Attributes | |
double | Size = 12 |
AffineTransform | Transform |
uint32_t | Flags = KAntiAlias |
Static Public Attributes | |
static constexpr uint32_t | KAntiAlias = 1 |
The changeable attributes of a typeface that determine how it creates glyphs.
|
inline |
The inequality operator.
|
inline |
The equality operator.
void CartoTypeCore::TypefaceInstance::SetToSize | ( | double | aSize | ) |
Sets a typeface instance's size in pixels per em to aSize and resets the font transform to identity.
uint32_t CartoTypeCore::TypefaceInstance::Flags = KAntiAlias |
Flags controlling anti-aliasing and glyph effects.
|
staticconstexpr |
A flag used in iFlags.
double CartoTypeCore::TypefaceInstance::Size = 12 |
The size in pixels per em, before any transform is applied.
AffineTransform CartoTypeCore::TypefaceInstance::Transform |
The transform used to apply rotation and slant. This transform also affects the baseline.