The IN_PlaceVectorObject function places a vector object on the specified edit layer. Depending on your edition of Imagenation, you can place arcs, lines, polylines, polygons, ellipses, annotations, text, and groups of objects with this function. Other functions allow you to place text objects, hotspots, and symbols specifically.
Syntax
int IN_PlaceVectorObject( layerID, pObjectDesc, DescSize )
|
Parameters |
Meaning |
|
IN_LAYER layerID |
identifier of the edit layer on which to place the vector object |
|
STDPTR pObjectDesc |
pointer to the structure of the vector object data |
|
USHORT DescSize |
size of the object data structure |
Vector object structures for pObjectDesc
polygon, box, box-shaped highlight area, box-shaped erase area
polyline, sketch, highlighted sketch, rubout sketch
Remarks
For the vector objects to be visible, you must redraw the display by using the IN_Refresh function, or the View, Refresh command in the interface.
With this function, you cannot specify that the default attribute values that are defined through IN_SetSystemToolAttribute are to be used as part of pObjectDesc. You must instead list specific values.
Release information
Added to Imagenation for Windows in Release 4.20.
This function has not been tested in Imagenation for UNIX, so it should not be used in UNIX integrations.
See also