VectorImage::AddSplineRec
Adds a spline to the VectorImage.
GSErrCode AddSplineRec ( const Sy_SplineType& spline, const GSConstPtr pCoordPtr, const GSConstPtr pSDirsPtr, long nCoord, const Coord* offsCo );
Parameters
- spline
- The spline to be added.
- pCoordPtr
- The control points of the spline to be added.
- pSDirsPtr
- The control directions of the spline to be added.
- nCoord
- The count of control points and control directions of the spline to be added.
- offsCo
- If supplied the spline will be offseted with this vector.
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 10.0 or later, ModelerGraphics 8 or later
- Library:ModelerGraphicsImp.lib (Win) or ModelerGraphics.framework (Mac)
- Header:VectorImage.hpp