diff options
author | Remigiusz Fiedler <migius@gmx.net> | 2008-02-19 13:47:29 +0300 |
---|---|---|
committer | Remigiusz Fiedler <migius@gmx.net> | 2008-02-19 13:47:29 +0300 |
commit | 0d80e08e8a24e43f3225d3c3a458ed8555cbe8e2 (patch) | |
tree | 3ea5b988fd9dd9e3900521db2a27b29d54bb4244 /source/blender/python/api2_2x/doc | |
parent | 92300016e0873ce68ae7b4a9c08b581d8e9f58a3 (diff) |
python API: added support for screen font 12(fix-width) as "normalfix"
Diffstat (limited to 'source/blender/python/api2_2x/doc')
-rw-r--r-- | source/blender/python/api2_2x/doc/Draw.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/doc/Draw.py b/source/blender/python/api2_2x/doc/Draw.py index 9d4f2372462..18234754315 100644 --- a/source/blender/python/api2_2x/doc/Draw.py +++ b/source/blender/python/api2_2x/doc/Draw.py @@ -786,7 +786,7 @@ def GetStringWidth(string, fontsize = 'normal'): @type string: string @param string: A string. @type fontsize: string - @param fontsize: The size of the font: 'large', 'normal', 'small' or 'tiny'. + @param fontsize: The size of the font: 'large', 'normal', 'normalfix', 'small' or 'tiny'. @rtype: int @return: The width of I{string} with the chosen I{fontsize}. """ @@ -803,7 +803,7 @@ def Text(string, fontsize = 'normal'): @type string: string @param string: The text string to draw. @type fontsize: string - @param fontsize: The size of the font: 'large', 'normal', 'small' or 'tiny'. + @param fontsize: The size of the font: 'large', 'normal', 'normalfix', 'small' or 'tiny'. @rtype: int @return: The width of I{string} drawn with the chosen I{fontsize}. @note: For drawing text in the 3d view see the workaround in L{BGL.glRasterPos} |