File: ft_glyph_bbox_modes.rst

package info (click to toggle)
freetype-py 2.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,976 kB
  • sloc: python: 7,676; makefile: 111
file content (25 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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.