home *** CD-ROM | disk | FTP | other *** search
- REM Name: I_keyin.cdl
- REM
- REM Date: 011089 simon izraelevitz
- REM
- REM Task: Constructs a keyway out icon for the Shapes program.
- REM
- REM -----------------------------------------------
-
- REM calculate scale factor
- sc = .4
-
- REM compute icon origin
- ox = 1.5 * hinc
- oy = 2.5 * vinc
-
- REM create icon geometry
- MODE DRAW
-
- x = ox + ( 0.0000000*sc)
- y = oy + ( 0.0000000*sc)
- r = 1.0000000*sc
- ARC x, y, @depth, r, 41.5369587, 378.4630324, 0, 3
-
-
- x1 = ox + ( 0.6000000*sc)
- y1 = oy + (-1.0392305*sc)
- x2 = ox + (-0.6000000*sc)
- y2 = oy + ( 1.0392305*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3, 0, 3
-
- x1 = ox + ( 0.9485281*sc)
- y1 = oy + ( 0.3166929*sc)
- x2 = ox + ( 0.6712232*sc)
- y2 = oy + ( 0.1565909*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3
-
- x1 = ox + ( 0.7485281*sc)
- y1 = oy + ( 0.6631030*sc)
- x2 = ox + ( 0.4712233*sc)
- y2 = oy + ( 0.5030010*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3
-
- x1 = ox + ( 0.6712232*sc)
- y1 = oy + ( 0.1565909*sc)
- x2 = ox + ( 0.4712233*sc)
- y2 = oy + ( 0.5030010*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3
-
- x1 = ox + (-1.0392305*sc)
- y1 = oy + (-0.6000000*sc)
- x2 = ox + ( 1.0392305*sc)
- y2 = oy + ( 0.6000000*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3, 0, 3
-
- :exit
- exit
-