diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-01-09 17:15:16 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-01-09 17:15:16 (GMT) |
commit | 6259af9bbbb0968abce4b91b966139fb7b3d386e (patch) | |
tree | 4b43d29e3a8301bcf01e57c4ff71173d3c870b18 /Mac/Modules/fm/Fmgen.py | |
parent | c8a9949407b753205b3db58719f0be787a039db8 (diff) | |
download | cpython-6259af9bbbb0968abce4b91b966139fb7b3d386e.zip cpython-6259af9bbbb0968abce4b91b966139fb7b3d386e.tar.gz cpython-6259af9bbbb0968abce4b91b966139fb7b3d386e.tar.bz2 |
An interface to the font manager
Diffstat (limited to 'Mac/Modules/fm/Fmgen.py')
-rw-r--r-- | Mac/Modules/fm/Fmgen.py | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/Mac/Modules/fm/Fmgen.py b/Mac/Modules/fm/Fmgen.py new file mode 100644 index 0000000..7d9203f --- /dev/null +++ b/Mac/Modules/fm/Fmgen.py @@ -0,0 +1,84 @@ +# Generated from 'flap:CodeWarrior:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Fonts.h' + +f = Function(void, 'InitFonts', +) +functions.append(f) + +f = Function(void, 'GetFontName', + (short, 'familyID', InMode), + (Str255, 'name', OutMode), +) +functions.append(f) + +f = Function(void, 'GetFNum', + (ConstStr255Param, 'name', InMode), + (short, 'familyID', OutMode), +) +functions.append(f) + +f = Function(Boolean, 'RealFont', + (short, 'fontNum', InMode), + (short, 'size', InMode), +) +functions.append(f) + +f = Function(void, 'SetFontLock', + (Boolean, 'lockFlag', InMode), +) +functions.append(f) + +f = Function(void, 'SetFScaleDisable', + (Boolean, 'fscaleDisable', InMode), +) +functions.append(f) + +f = Function(void, 'FontMetrics', + (FMetricRecPtr, 'theMetrics', OutMode), +) +functions.append(f) + +f = Function(void, 'SetFractEnable', + (Boolean, 'fractEnable', InMode), +) +functions.append(f) + +f = Function(short, 'GetDefFontSize', +) +functions.append(f) + +f = Function(Boolean, 'IsOutline', + (Point, 'numer', InMode), + (Point, 'denom', InMode), +) +functions.append(f) + +f = Function(void, 'SetOutlinePreferred', + (Boolean, 'outlinePreferred', InMode), +) +functions.append(f) + +f = Function(Boolean, 'GetOutlinePreferred', +) +functions.append(f) + +f = Function(void, 'SetPreserveGlyph', + (Boolean, 'preserveGlyph', InMode), +) +functions.append(f) + +f = Function(Boolean, 'GetPreserveGlyph', +) +functions.append(f) + +f = Function(OSErr, 'FlushFonts', +) +functions.append(f) + +f = Function(short, 'GetSysFont', +) +functions.append(f) + +f = Function(short, 'GetAppFont', +) +functions.append(f) + |