summaryrefslogtreecommitdiff
path: root/include/freetype/ftglyph.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/freetype/ftglyph.h')
-rw-r--r--include/freetype/ftglyph.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/freetype/ftglyph.h b/include/freetype/ftglyph.h
index b29751e04..e34644409 100644
--- a/include/freetype/ftglyph.h
+++ b/include/freetype/ftglyph.h
@@ -268,6 +268,12 @@ FT_BEGIN_HEADER
* end_glyph_id ::
* The ending glyph ID for the glyph range that this document has.
*
+ * transform ::
+ * Transformation matrix to apply on the glyph while rendering.
+ *
+ * delta ::
+ * Translation to apply on the glyph while rendering.
+ *
* @note:
* `metrics` and `units_per_EM` might look like repetitions since both
* fields are stored in face objects. However, the Glyph Management API
@@ -289,7 +295,8 @@ FT_BEGIN_HEADER
FT_UShort units_per_EM;
FT_UShort start_glyph_id;
FT_UShort end_glyph_id;
- /* TODO: (OT-SVG) Maybe put a transformation matrix here */
+ FT_Matrix transform;
+ FT_Vector delta;
} FT_SvgGlyphRec;