Adobe.com
Contents Suites Classes Class Index Member Index

PathEditDescription Struct Reference

The details of an edit description, passed as a parameter to AIBeautifulStrokesSuite::AdjustWidthAnchorsBeforePathEdit(). More...

#include <AIBeautifulStrokes.h>

List of all members.

Public Attributes

PathEditType editType
ai::int16 segIndex
 For kTranslate1Anchor or kRemove1Anchor, the index of the anchor point being moved or removed.
AIArtStyleHandle newStyle
 For kApplyStyle, the new art style that is about to be applied to the path.
AIPathSegment newAnchor
 For kAdd1Anchor, the coordinates and direction handles of the anchor point about to be added.
AIArtHandle sourcePath
 For kSplitPath or kCopyAndResetAnchors, the original path that was used to as the source of anchor points for the new path.

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.

For kSplitPath or kCopyAndResetAnchors, the original path that was used to as the source of anchor points for the new path.


The documentation for this struct was generated from the following file:


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks