[Indic-computing-cvs-logs] cvs commit: src/py-freetype freetype.pyx
Status: Alpha
Brought to you by:
jkoshy
From: Joseph K. <jk...@us...> - 2003-05-15 12:59:39
|
jkoshy 2003/05/15 05:59:38 PDT Modified files: py-freetype freetype.pyx Log: - API changes: + _FT_IntegralType objects can now be initialized from any Python object that support a conversion to a floating point number. This include FT_{Fixed,FTF26Dot6,Angle} objects as well as the usual strings, integers and float values. + _FT_IntegralType objects now support a 'set()' method. Direct access to the '.value' attribute has been removed. Access to the 'bits' attribute to get at the internal representation is still allowed. + All numeric operations on this type are defined in terms of numeric operations on 'float' values. + __getattr__ methods should return 'AttributeError' and not 'NameError' if the named attribute is not supported. Fixed. - Improve a few comments - Make type objects corresponding to each wrapper class available at the toplevel (e.g. FT_AngleType, Revision Changes Path 1.11 +87 -43 src/py-freetype/freetype.pyx |