diff options
Diffstat (limited to 'third_party/freetype-py/doc/ft_glyph_bbox_modes.rst')
-rw-r--r-- | third_party/freetype-py/doc/ft_glyph_bbox_modes.rst | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/third_party/freetype-py/doc/ft_glyph_bbox_modes.rst b/third_party/freetype-py/doc/ft_glyph_bbox_modes.rst new file mode 100644 index 0000000..f192aa3 --- /dev/null +++ b/third_party/freetype-py/doc/ft_glyph_bbox_modes.rst @@ -0,0 +1,25 @@ +FT_GLYPH_BBOX_MODES +=================== + +The mode how the values of FT_Glyph_Get_CBox are returned. + +.. data:: FT_GLYPH_BBOX_UNSCALED + + Return unscaled font units. + +.. data:: FT_GLYPH_BBOX_SUBPIXELS + + Return unfitted 26.6 coordinates. + +.. data:: FT_GLYPH_BBOX_GRIDFIT + + Return grid-fitted 26.6 coordinates. + +.. data:: FT_GLYPH_BBOX_TRUNCATE + + Return coordinates in integer pixels. + +.. data:: FT_GLYPH_BBOX_PIXELS + + Return grid-fitted pixel coordinates. + |