AITransformArt.h File Reference
#include "AITypes.h"
#include "AIArt.h"
#include "AIPlugin.h"
#include "AIHeaderBegin.h"
#include "AIHeaderEnd.h"
Go to the source code of this file.
Classes |
struct | AITransformArtSuite |
| This suite provides a function that transforms an art object of any type by a given transformation matrix, making special transformation routines for the different art types unnecessary. More...
|
Defines |
#define | kAITransformArtSuite "AI Transform Art Suite" |
#define | kAITransformArtSuiteVersion3 AIAPI_VERSION(3) |
#define | kAITransformArtSuiteVersion kAITransformArtSuiteVersion3 |
#define | kAITransformArtVersion kAITransformArtSuiteVersion |
Enumerations |
enum | AITransformArtOptions {
kTransformObjects = ((ai::int32) (1<<0)),
kTransformFillGradients = ((ai::int32) (1<<1)),
kTransformFillPatterns = ((ai::int32) (1<<2)),
kTransformStrokePatterns = ((ai::int32) (1<<3)),
kScaleLines = ((ai::int32) (1<<4)),
kTransformLinkedMasks = ((ai::int32) (1<<5)),
kTransformChildren = ((ai::int32) (1<<6)),
kTransformSelectionOnly = ((ai::int32) (1<<7)),
kTransformNotifyPluginGroups = ((ai::int32) (1<<8)),
kTransformForPerspectivePlugin = ((ai::int32) (1<<9)),
kTransformStrokeGradients = ((ai::int32) (1<<10)),
kPreserveCornersMaintainingRadii = ((ai::int32) (1<<11)),
kPreserveCornersScalingRadii = ((ai::int32) (1<<12)),
kTransformEntireArtStyle = kTransformFillGradients | kTransformFillPatterns | kTransformStrokePatterns | kScaleLines | kTransformStrokeGradients,
kTransformBasicArtStyle = kTransformFillGradients | kTransformStrokeGradients
} |
| Options that control the behavior of AITransformArtSuite::TransformArt() .
More...
|
Detailed Description
Define Documentation
#define kAITransformArtSuite "AI Transform Art Suite" |
#define kAITransformArtSuiteVersion kAITransformArtSuiteVersion3 |
#define kAITransformArtSuiteVersion3 AIAPI_VERSION(3) |
#define kAITransformArtVersion kAITransformArtSuiteVersion |
Enumeration Type Documentation
Options that control the behavior of AITransformArtSuite::TransformArt()
.
- Enumerator:
kTransformObjects |
Transform object geometry.
|
kTransformFillGradients |
Apply the transform to gradient fills.
|
kTransformFillPatterns |
Apply the transform to pattern fills.
|
kTransformStrokePatterns |
Apply the transform to pattern strokes.
|
kScaleLines |
Scale the stroke weights by the linescale factor.
|
kTransformLinkedMasks |
Transform any opacity masks attached to the objects if they are set as linked.
|
kTransformChildren |
Apply the transformation recursively.
|
kTransformSelectionOnly |
Apply the transformation only to selected segments of path objects.
|
kTransformNotifyPluginGroups |
Notify parent plug-in groups of the transformation.
Affects performance if AITransformArtSuite::TransformArt() is called during a mouse drag loop.
|
kTransformForPerspectivePlugin |
Internal use only.
|
kTransformStrokeGradients |
Apply the transform to gradient stroke.
|
kPreserveCornersMaintainingRadii |
Preserve corners during transformations while maintaining radii values.
|
kPreserveCornersScalingRadii |
Preserve corners during transformations while scaling radii values.
|
kTransformEntireArtStyle |
Transform all aspects of the art style.
|
kTransformBasicArtStyle |
Transform all aspects of the art style that are not affected by transformation preferences.
|