home *** CD-ROM | disk | FTP | other *** search
- REM Name: i_rndsl.cdl
- REM
- REM Date: 122988 simon izraelevitz
- REM
- REM Task: Constructs an icon to represent a round slot for
- REM the Shapes program.
- REM -----------------------------------------------
-
- REM calculate scale factor
- sc = 0.6
-
- REM compute icon oval origin
- ox = 1.5 * hinc
- oy = 3.5 * vinc
-
- REM create icon geometry
- MODE DRAW
-
- x = ox + (-0.64951902*sc)
- y = oy + (-0.3750000*sc)
- r = 0.2500000*sc
- ARC x, y, @depth, r, 120.0000000, 300.0000000, 0, 3
-
- x = ox + ( 0.64951902*sc)
- y = oy + ( 0.3750000*sc)
- r = 0.2500000*sc
- ARC x, y, @depth, r, 300.0000000, 480.0000000, 0, 3
-
- x1 = ox + (-0.5245190*sc)
- y1 = oy + (-0.5915064*sc)
- x2 = ox + ( 0.7745190*sc)
- y2 = oy + ( 0.1584937*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3
-
- x1 = ox + ( 0.5245190*sc)
- y1 = oy + ( 0.5915064*sc)
- x2 = ox + (-0.7745190*sc)
- y2 = oy + (-0.1584937*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3
-
- x1 = ox + (-0.8245190*sc)
- y1 = oy + (-0.0718912*sc)
- x2 = ox + (-0.4745190*sc)
- y2 = oy + (-0.6781090*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3, 0, 3
-
- x1 = ox + ( 0.9526280*sc)
- y1 = oy + ( 0.5500001*sc)
- x2 = ox + (-0.9526279*sc)
- y2 = oy + (-0.5500001*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3, 0, 3
-
- x1 = ox + ( 0.4745191*sc)
- y1 = oy + ( 0.6781090*sc)
- x2 = ox + ( 0.8245191*sc)
- y2 = oy + ( 0.0718912*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3, 0, 3
-
- :exit
- exit
-