Adobe.com
Contents Suites Classes Class Index Member Index

AIAnchorIdentifier Struct Reference

Identifies a specific point along a path, in two different ways. More...

#include <AIPathInterpolate.h>

List of all members.

Public Attributes

AIReal segmentOffset
 An AIReal in which the integer part is an anchor point index into the AIPathSegment list of a path, and the fractional part is a t-value along the bezier between that anchor point and the next one (usually 0).
AIReal fractionalOffset
 An AIReal in which only the fractional part is significant, and represents the t-value along the entire flattened path length.

Detailed Description

Identifies a specific point along a path, in two different ways.

Used to keep track of the point selections on a partially selected path, if they will be needed after the path is modified. These values (along with the number of points the path had before modification) can be used to match a point value to its corresponding point after the modification. Depending on the type of modification, one of the representations changes, but the other remains invariant.

  • If the number of points after an edit is the same as when the match was specified, use segmentOffset. Use for transformations or distortions of the whole path, as well as edits that move some or all of the points.
  • If the number of points after an edit is different from when the match was specified, use flattenedOffset. Use for edits that add or delete points without changing the geometry of the path.

Member Data Documentation

An AIReal in which only the fractional part is significant, and represents the t-value along the entire flattened path length.

This can change if anchor or control points are moved.

An AIReal in which the integer part is an anchor point index into the AIPathSegment list of a path, and the fractional part is a t-value along the bezier between that anchor point and the next one (usually 0).

This is the same as the offset. See AITextPathSuite::GetTextPathOffset().

This can change after points are inserted or deleted in the 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