blob: 17b3b1ebd422c557640a95208bfc8fa4abfd55f8 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
--
-- File : IntercharacterSpacing.cdl
-- Created : Sat 9 Jan 1993
-- Author : CKY / Contract Toubro-Larsen ( TCD )
--
---Copyright : MATRA-DATAVISION 1993
--
class IntercharacterSpacing from IGESGraph inherits IGESEntity
---Purpose: defines IGESIntercharacterSpacing, Type <406> Form <18>
-- in package IGESGraph
--
-- Specifies the gap between letters when fixed-pitch
-- spacing is used
uses Integer, Real -- no one specific type
is
Create returns mutable IntercharacterSpacing;
-- Specific Methods pertaining to the class
Init (me : mutable;
nbProps : Integer;
anISpace : Real);
---Purpose : This method is used to set the fields of the class
-- IntercharacterSpacing
-- - nbProps : Number of property values (NP = 1)
-- - anISpace : Intercharacter spacing percentage
NbPropertyValues (me) returns Integer;
---Purpose : returns the number of property values in <me>
ISpace (me) returns Real;
---Purpose : returns the Intercharacter Space of <me> in percentage
-- of the text height (Range = 0..100)
fields
--
-- Class : IGESGraph_IntercharacterSpacing
--
-- Purpose : Declaration of the variables specific to a
-- Intercharacter Spacing property.
--
-- Reminder : An Intercharacter spacing property is defined by :
-- - Number of property values (NP=1)
-- - ISpace
--
theNbPropertyValues : Integer;
theISpace : Real;
end IntercharacterSpacing;
|