freetypy.ORIENTATION¶
-
class
freetypy.
ORIENTATION
¶ Specifies how an
Outline
is oriented.TRUETYPE
: According to the TrueType specification, clockwise contours must be filled, and counter-clockwise ones must be unfilled.POSTSCRIPT
: According to the PostScript specification, counter-clockwise contours must be filled, and clockwise ones must be unfilled.FILL_RIGHT
: This is identical toORIENTATION.TRUETYPE
, but is used to remember that in TrueType, everything that is to the right of the drawing direction of a contour must be filled.FILL_LEFT
: This is identical toORIENTATION.POSTSCRIPT
, but is used to remember that in PostScript, everything that is to the left of the drawing direction of a contour must be filled.NONE
: The orientation cannot be determined. That is, different parts of the glyph have different orientation.
-
__init__
()¶ x.__init__(...) initializes x; see help(type(x)) for signature
Attributes
FILL_LEFT
FILL_RIGHT
NONE
POSTSCRIPT
TRUETYPE