Defines

Knot types

Defines

#define  KTYPE_AUTO   0
  Produces the bezier handles automatically to produce a smooth curve.
#define  KTYPE_CORNER   1
  Produces a sharp corner.
#define  KTYPE_BEZIER   2
  This knot type produces bezier handles that are collinear (the bezier vectors coming out of the knot are collinear).
#define  KTYPE_BEZIER_CORNER   (KTYPE_BEZIER | KTYPE_CORNER)
  This knot type has bezier handles but they are not constrained to be opposite each other.
#define  KTYPE_RESET   4

Define Documentation

#define KTYPE_AUTO   0

Produces the bezier handles automatically to produce a smooth curve.

With this knot type the bezier handles are invisible.

#define KTYPE_CORNER   1

Produces a sharp corner.

#define KTYPE_BEZIER   2

This knot type produces bezier handles that are collinear (the bezier vectors coming out of the knot are collinear).

These handles are constrained to be collinear so if the user moves one handle the other will move to remain collinear. Also if the user moves the handle towards or away from the knot the other handle will move the corresponding amount in the proper scale.

#define KTYPE_BEZIER_CORNER   (KTYPE_BEZIER | KTYPE_CORNER)

This knot type has bezier handles but they are not constrained to be opposite each other.

#define KTYPE_RESET   4