|
CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_graphics_context.h>
Public Member Functions | |
| bool | operator== (const TTypefaceInstance &aInstance) const |
| bool | operator!= (const TTypefaceInstance &aInstance) const |
| void | SetToSize (double aSize) |
Public Attributes | |
| double | iSize = 12 |
| TTransform | iTransform |
| uint32_t | iFlags = 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 CartoType::TTypefaceInstance::SetToSize | ( | double | aSize | ) |
Sets a typeface instance's size in pixels per em to aSize and resets the font transform to identity.
| uint32_t CartoType::TTypefaceInstance::iFlags = KAntiAlias |
Flags controlling anti-aliasing and glyph effects.
| double CartoType::TTypefaceInstance::iSize = 12 |
The size in pixels per em, before any transform is applied.
| TTransform CartoType::TTypefaceInstance::iTransform |
The transform used to apply rotation and slant. This transform also affects the baseline.
|
staticconstexpr |
A flag used in iFlags.