ne_gs_setShapeFeatures

int sbne::ne_gs_setShapeFeatures(VTransformation2D *gS, const int &numvertices, const std::string &href, const bool &lineending)

Automattically sets pre-defined values to the features of the VTransformation2D object based on its “shape” attribute.

Parameters
  • gS – a pointer to the VTransformation2D object.

  • numvertices – an integer value indicating the number of vertices for a VPolygon object.

  • href – a string to use as the value of the “href” attribute of a VImage object.

  • linending – a bool value to determine whether the VTransformation2D object is used for a line ending or not.

Returns

integer value indicating success/failure of the function.