*DefineGraphic()

Begins a graphic definition block.

Syntax

*DefineGraphic(gra_def_name, [arg_1, arg_2,..., arg_n])

Application

MotionView and HyperView.

Arguments

gra_def_name
The name of the graphic definition.
arg_1, arg_2,..., arg_n (Optional)
User-defined arguments.

Example

DefineGraphic(gra_def_1, fname)
    *LightInfo(0, 0, 1, 0.5, 0.5, 0.5, 64)
    *View(0707107, 0.353553, -0.612372, 
          0, -0707107, 0.353553, -0.612372, 0,
          -3.09086e-08, 0.866025, 0.5, 0,
          -22946.6, -17811.2, -22623.3, 1)
    *ClippingRegion(-23724.9, -18599.1, -17668.8,
                    -14493.9)
    *GraphicSource("indy.gra", 1, 2, 1)
    *Part("P/999", Off, IdOff, 2, Opa, Sha, NoTrace)
*EndDefine()

Comments

The *DefineGraphic() statement requires an ending *EndDefine() statement.