Graphisoft®

API Development KitVersion: 18

VectorImage::AddPolyLineRec


Adds a polyLine to the VectorImage.


GSErrCode  AddPolyLineRec (
    const Sy_PolyLinType&   polyLine
        const char*                             pCoordPtr,
        const char*                             pArcsPtr
);

Parameters

polyLine
The attrributes of the polyLine what will be added to the VectorImage.
pCoordPtr
The vertices of the polyline to be added.
pArcsPtr
The arc descriptions of the polyline to be added.

Return value

If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.

Description

All of the fields of the structure should be filled, this function won't update any of them.
Addition always merges the new record to the end of the primitives list but drawing order can differ from placing order.

Requirements

Version:API 15.0 or later, ModelerGraphics 8 or later
Library:ModelerGraphicsImp.lib (Win) or ModelerGraphics.framework (Mac)
Header:VectorImage.hpp