home *** CD-ROM | disk | FTP | other *** search
- REM Name: I_shrpsl.cdl
- REM
- REM Date: 010589 simon izraelevitz
- REM
- REM Task: Constructs an icon that represents a sharp corner
- REM slot for the Shapes program.
- REM
- REM -----------------------------------------------
-
- REM calculate scale factor
- sc = 0.4
-
- REM compute icon oval origin
- ox = 2.5 * hinc
- oy = 3.5 * vinc
-
- REM create icon geometry
- MODE DRAW
-
- x = ox + (-0.4330127*sc)
- y = oy + (-0.2500000*sc)
- r = 1.0000000*sc
- ARC x, y, @depth, r, 180.0000000, 240.0000000, 0, 3
-
- x = ox + ( 0.4330127*sc)
- y = oy + ( 0.2500000*sc)
- r = 1.0000000*sc
- ARC x, y, @depth, r, 360.0000000, 420.0000000, 0, 3
-
- x1 = ox + ( 0.9330127*sc)
- y1 = oy + ( 1.1160254*sc)
- x2 = ox + (-1.4330127*sc)
- y2 = oy + (-0.2500000*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3
-
- x1 = ox + ( 1.4330127*sc)
- y1 = oy + ( 0.2500000*sc)
- x2 = ox + (-0.9330127*sc)
- y2 = oy + (-1.1160254*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3
-
- x1 = ox + ( 1.3856406*sc)
- y1 = oy + ( 0.8000000*sc)
- x2 = ox + (-1.3856406*sc)
- y2 = oy + (-0.8000000*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3, 0, 3
-
- x1 = ox + (-0.1330127*sc)
- y1 = oy + (-0.7696153*sc)
- x2 = ox + (-0.7330127*sc)
- y2 = oy + ( 0.2696151*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3, 0, 3
-
- x1 = ox + ( 0.7330127*sc)
- y1 = oy + (-0.2696152*sc)
- x2 = ox + ( 0.1330127*sc)
- y2 = oy + ( 0.7696152*sc)
- VLINE x1, y1, @depth, x2, y2, @depth, 0, 3, 0, 3
-
- :exit
- exit
-