PathEditDescription Struct Reference
The details of an edit description, passed as a parameter to AIBeautifulStrokesSuite::AdjustWidthAnchorsBeforePathEdit()
.
More...
#include <AIBeautifulStrokes.h>
List of all members.
Detailed Description
The details of an edit description, passed as a parameter to AIBeautifulStrokesSuite::AdjustWidthAnchorsBeforePathEdit()
.
Member Data Documentation
For kAdd1Anchor
, the coordinates and direction handles of the anchor point about to be added.
For kApplyStyle
, the new art style that is about to be applied to the path.
The message must be sent while the old art style is still on the path, so that the width profiles can be compared.
For kTranslate1Anchor
or kRemove1Anchor
, the index of the anchor point being moved or removed.
For kAdjustBezier
, the index of the anchor point before the bezier segment being adjusted.
For kAdd1Anchor
, the index of the new anchor point after insertion.
For kSplitPath
, the index in the source path of the anchor point that was given index 0 in the new path.
The index is allowed to be -1 if the new path was constructed by cutting the closing bezier segment of a closed path and copying anchor point 0 of the source path to anchor point 1 of the new path. You can find the number of anchor points copied by examining the new path. If the new path is longer than the number of anchor points remaining after this index in the source path, the code checks for wraparound, as would result from cutting open a closed path.
The documentation for this struct was generated from the following file: