blob: 1febf72ec8edba0cbf5312603e18f6272646c4c5 (
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
|
-- File: Draw_Axis2D.cdl
-- Created: Mon Apr 18 18:08:38 1994
-- Author: Modelistation
-- <model@phylox>
---Copyright: Matra Datavision 1994
class Axis2D from Draw inherits Drawable2D from Draw
---Purpose:
uses Pnt2d from gp,
Ax22d from gp,
Color from Draw,
Display from Draw
is
Create(col : Color; Size : Integer = 5)
returns mutable Axis2D;
Create(p : Pnt2d; col : Color; Size : Integer = 5)
returns mutable Axis2D;
Create(A : Ax22d from gp; col : Color; Size : Integer = 5)
returns mutable Axis2D;
DrawOn(me; dis : in out Display);
fields
myAxes : Ax22d from gp;
myColor : Color;
mySize : Integer;
end Axis2D;
|