2 -- File: Xw_FontMap.cdl
6 ---Copyright: MatraDatavision 1993
9 class FontMap from Xw inherits Transient
13 ---Purpose: This class defines a FontMap object.
22 FontMapEntry from Aspect
26 FontMapDefinitionError from Aspect,
32 returns mutable FontMap from Xw
36 Create (Connexion : CString from Standard)
37 returns mutable FontMap from Xw
39 ---Purpose: Creates a FontMap with an unallocated FontMapEntry.
40 raises FontMapDefinitionError from Aspect;
41 ---Error if FontMap creation failed according
42 -- to the supported hardware
44 SetEntry (me : mutable;
45 Entry : FontMapEntry from Aspect)
47 ---Purpose: Modifies an entry already defined or adds <Entry>
48 -- in the font map <me> if it don't exist.
49 raises BadAccess from Aspect is virtual;
50 ---Purpose: Warning if FontMap size is exceeded.
51 -- or FontMap is not defined properly
52 -- or FontMapEntry Index is out of range according
53 -- to the supported hardware
55 SetEntries (me : mutable;
56 Fontmap : FontMap from Aspect)
58 ---Purpose: Modifies all entries of <me> from the new Fontmap.
59 raises BadAccess from Aspect is virtual;
60 ---Purpose: Warning if FontMap size is exceeded.
61 -- or FontMap is not defined properly
62 -- or One of new FontMapEntry Index is out of range according
63 -- to the supported hardware
65 Destroy (me : mutable) is virtual;
67 ---Purpose: Destroies the Fontmap
70 ----------------------------
71 -- Category: Inquire methods
72 ----------------------------
75 returns Integer from Standard
77 ---Purpose: Returns the number of Free Fonts in the Fontmap
78 -- depending of the HardWare
79 raises BadAccess from Aspect is static;
80 ---Error If FontMap is not defined properly
83 returns Address from Standard
86 ---Purpose: Returns extended data fontmap structure pointer.
87 ---Category: Inquire methods
92 MyExtendedDisplay : Address from Standard;
93 MyExtendedFontMap : Address from Standard;
97 class GraphicDevice from Xw