freetypy.GLYPH_BBOX

class freetypy.GLYPH_BBOX

Indicates how the values of Glyph.get_cbox are returned.

  • UNSCALED: Return unscaled font units.
  • SUBPIXELS: Return unfitted fractional coordinates.
  • GRIDFIT: Return grid-fitted factional coordinates.
  • TRUNCATE: Return coordinates in integer pixels.
  • PIXELS: Return grid-fitted pixel coordinates.
__init__()

x.__init__(...) initializes x; see help(type(x)) for signature

Attributes

GRIDFIT
PIXELS
SUBPIXELS
TRUNCATE
UNSCALED