summaryrefslogtreecommitdiff
path: root/third_party/freetype-py/freetype/ft_enums/ft_style_flags.py
blob: e0032c90864f0d82c8dd0c08100a162f5ef089f3 (plain)
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
26
27
28
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
#
#  FreeType high-level python API - Copyright 2011-2012 Nicolas P. Rougier
#  Distributed under the terms of the new BSD license.
#
# -----------------------------------------------------------------------------
"""
A list of bit-flags used to indicate the style of a given face. These are
used in the 'style_flags' field of FT_FaceRec.


FT_STYLE_FLAG_ITALIC	

  Indicates that a given face style is italic or oblique.


FT_STYLE_FLAG_BOLD	

  Indicates that a given face is bold.
"""
FT_STYLE_FLAGS = {'FT_STYLE_FLAG_ITALIC' : 1,
                   'FT_STYLE_FLAG_BOLD'   : 2 }
globals().update(FT_STYLE_FLAGS)