Defines

Steps Arguments

Arguments for the "steps" parameter in MakePolyShape(). More...

Defines

#define  PSHAPE_BUILTIN_STEPS   -2
  Uses the shape's built-in steps/adaptive settings (default)
#define  PSHAPE_ADAPTIVE_STEPS   -1
  Forces adaptive steps.

Detailed Description

Arguments for the "steps" parameter in MakePolyShape().

The third parameter in ShapeObject::MakePolyShape() is the number of steps, and can accept one of the following arguments for non-fixed number of steps. Any positive argument will be interpreted as fixed number of steps. The child classes of ShapeObject who implements this function (LinearShape, SimpleShape, SimpleSpline, SplineShape, MSPluginShape, and MSShapeXtnd) also interpret these in the same way.

See also:
ShapeObject::MakePolyShape()

Define Documentation

#define PSHAPE_BUILTIN_STEPS   -2

Uses the shape's built-in steps/adaptive settings (default)

#define PSHAPE_ADAPTIVE_STEPS   -1

Forces adaptive steps.