|
Cobbletext
0.2.0
Complex text layout and rendering engine
|
Representation of a pen drawing instruction. More...
#include <advance_info.h>
Public Attributes | |
| CobbletextAdvanceType | type |
| The type of movement. More... | |
| uint32_t | text_index |
| Position of the text in code points. More... | |
| int32_t | advance_x |
| Horizontal movement of the pen. More... | |
| int32_t | advance_y |
| Vertical movement of the pen. More... | |
| CobbletextGlyphID | glyph_id |
| Glyph to be drawn. More... | |
| int32_t | glyph_offset_x |
| Horizontal offset to the current pen position when drawing a glyph. More... | |
| int32_t | glyph_offset_y |
| Vertical offset to the current pen position when drawing a glyph. More... | |
| CobbletextInlineObjectID | inline_object |
| User-provided inline object ID. More... | |
| CobbletextCustomPropertyID | custom_property |
| User-provided custom property. More... | |
Representation of a pen drawing instruction.
The origin of the X-Y coordinate system is defined to be the top-left of the drawing area where
The advance values are to be added to the current pen position after drawing a glyph or object (if any).
| int32_t CobbletextAdvanceInfo::advance_x |
Horizontal movement of the pen.
| int32_t CobbletextAdvanceInfo::advance_y |
Vertical movement of the pen.
| CobbletextCustomPropertyID CobbletextAdvanceInfo::custom_property |
User-provided custom property.
| CobbletextGlyphID CobbletextAdvanceInfo::glyph_id |
Glyph to be drawn.
#type is a glyph. | int32_t CobbletextAdvanceInfo::glyph_offset_x |
Horizontal offset to the current pen position when drawing a glyph.
| int32_t CobbletextAdvanceInfo::glyph_offset_y |
Vertical offset to the current pen position when drawing a glyph.
| CobbletextInlineObjectID CobbletextAdvanceInfo::inline_object |
User-provided inline object ID.
#type is a inline object. | uint32_t CobbletextAdvanceInfo::text_index |
Position of the text in code points.
| CobbletextAdvanceType CobbletextAdvanceInfo::type |
The type of movement.
1.8.17