VectorImage::AddHatchRec
Adds a hatch to the VectorImage.
GSErrCode AddHatchRec ( const Sy_HatchType& hatch, const GSPtr pCoordPtr, const GSPtr pSEndsPtr, const GSPtr pArcsPtr, const Coord* offsCo );
Parameters
- hatch
- The hatch to be added.
- pCoordPtr
- The vertices of the hatch to be added.
- pSEndsPtr
- The contour end indices of the hatch to be added.
- pArcsPtr
- The arc descriptions of the hatch to be added.
- offsCo
- If supplied the hatch 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