home *** CD-ROM | disk | FTP | other *** search
/ Corel Draw 7 / CD7_PROGRAM.ISO / draw / scripts / presets6 / 3dshadow.csc < prev    next >
Encoding:
Text File  |  1996-10-24  |  1.6 KB  |  38 lines

  1. REM 3D SHADOW - a combination of blend and extrude effects give a nice
  2. REM REM 3D look to text and other objects.
  3. REM REM Converted from a DRAW PRESET binary to a DRAW RECORDING script
  4.  
  5. WITHOBJECT "CorelDraw.Automation.7"
  6.     .StartOfRecording 
  7.     .SuppressPainting 
  8.     .RecorderStorePreselectedObjects TRUE
  9.     .RecorderSelectObjectByIndex TRUE, 1
  10.     .ApplyOutline 127000, 1, 1, 1, 100, 0, 0, -1, -1, FALSE, 2, 0, FALSE
  11.     .SetOutlineColor 2, 0, 0, 0, 0
  12.     .RecorderSelectObjectByIndex TRUE, 1
  13.     .ApplyUniformFillColor 2, 0, 0, 0, 0
  14.     .RecorderSelectObjectByIndex TRUE, 1
  15.     .DuplicateObject 0, 0
  16.     .RecorderSelectObjectByIndex TRUE, 2
  17.     .ApplyUniformFillColor 2, 0, 0, 0, 40
  18.     .RecorderSelectObjectByIndex TRUE, 2
  19.     .ApplyOutline 127000, 1, 1, 1, 100, 0, 0, -1, -1, FALSE, 1, 0, FALSE
  20.     .SetOutlineColor 2, 0, 0, 0, 40
  21.     .RecorderSelectObjectByIndex TRUE, 2
  22.     .ApplyOutline 0, 0, 0, 0, 0, 0, 0, -1, -1, FALSE, 0, 0, FALSE
  23.     .RecorderSelectObjectByIndex TRUE, 2
  24.     .DuplicateObject 0, 0
  25.     .RecorderSelectObjectByIndex TRUE, 3
  26.     .ApplyExtrude 5, 0, 0, 20, 0, 65277, FALSE, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
  27.     .RecorderSelectObjectsByIndex TRUE, 4, 3, -1, -1, -1
  28.     .ApplyExtrude 5, 0, 0, 20, 0, 12953, FALSE, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 40, 2, 0, 0, 0, 40, 2, 0, 100, 100, 0
  29.     .RecorderSelectPreselectedObjects TRUE
  30.     .RecorderSelectObjectsByIndex FALSE, 2, -1, -1, -1, -1
  31.     .ApplyBlend TRUE, 20, 0, FALSE, 0, FALSE, FALSE, 0, 0, 0, TRUE, TRUE, FALSE, FALSE, 0, 0, 0, 0
  32.     .RecorderSelectPreselectedObjects TRUE
  33.     .RecorderSelectObjectsByIndex FALSE, 5, 4, 3, 2, -1
  34.     .Group 
  35.     .ResumePainting 
  36.     .EndOfRecording 
  37. END WITHOBJECT
  38.