Adobe.com
Contents Suites Classes Class Index Member Index

AIGradientProcs Struct Reference

Callback functions for AIGradientSuite::IterateGradient(). More...

#include <AIGradient.h>

List of all members.

Public Attributes

AIGradientSetGrayUPP setGray
 A procedure for modifying grayscale values in a gradient.
AIGradientSetCMYKUPP setCMYK
 A procedure for modifying CMYK values in a gradient.
AIGradientBeginFillUPP beginFill
 A procedure for initializing the gradient iteration.
AIGradientEndFillUPP endFill
 A procedure for terminating the gradient iteration.
AIGradientMoveToUPP moveTo
 A procedure to modify position values for the first point in a segment of a generated intermediate path object.
AIGradientLineToUPP lineTo
 A procedure to modify position values for the end point in a segment of a generated intermediate path object.
AIGradientCurveToUPP curveTo
 A procedure to modify position values for the set of point that defines the curve between endpoints of a segment in a generated intermediate path object.
AIGradientSetColorUPP setColor
 A generic procedure for modifying colors in a gradient.

Detailed Description

Callback functions for AIGradientSuite::IterateGradient().

The specified callbacks are invoked with information for each iteration segment of the gradient.

For example, if you select a gradient object and choose Object>Expand, and specify 10 paths, the plug-in uses this function to create the 10 paths that simulate the gradient. For each of the paths:

  • The setColor procedure is first called to set the color state.
  • Then, beginFill is called to let the plug-in know that a new path is about to be created.
  • Then, moveTo is called to let the plug-in know where the first point is.
  • Then, a sequence of calls to either lineTo or
  • curveTo builds up the path.
  • Finally, endFill is called to let the plug-in know that the path is finished.

Member Data Documentation

A procedure for initializing the gradient iteration.

Called at the beginning of the iteration.

A procedure to modify position values for the set of point that defines the curve between endpoints of a segment in a generated intermediate path object.

A procedure for terminating the gradient iteration.

Called at the end of the iteration.

A procedure to modify position values for the end point in a segment of a generated intermediate path object.

A procedure to modify position values for the first point in a segment of a generated intermediate path object.

A procedure for modifying CMYK values in a gradient.

Receives the CMYK color values of each iteration segment

A generic procedure for modifying colors in a gradient.

Set to NULL to use the more specific setGray and setCMYK procedures.

A procedure for modifying grayscale values in a gradient.

Receives the grayscale color value of each iteration segment.


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


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