Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
|
Describes a pattern that has been applied to some art. More...
#include <hdicoreArtColor.h>
Public Member Functions | |
PatternStyle () | |
Constructs a new PatternStyle object with default values. | |
PatternStyle (const PatternStyle &patt_) | |
Constructs a new PatternStyle object from an existing PatternStyle. | |
PatternStyle (const core::Pattern &pattern_, const double shiftDist_, const core::Angle &shiftAngle_, const double scaleX_, const double scaleY_, const core::Angle &rotation_, const bool reflect_, const core::Angle &reflectAngle_, const core::Angle &shearAngle_, const core::Angle &shearAxis_, const core::TransformMatrix &transform_) | |
Constructs a new PatternStyle object with the given values. | |
virtual | ~PatternStyle () |
Destructs a PatternStyle object. | |
PatternStyle & | operator= (const PatternStyle &rhs_) |
PatternStyle assignment operator. | |
Public Attributes | |
core::Pattern * | pattern |
Pattern to which the style applies. The lifetime of the object is only as long as the PatternStyle which contains it (so make sure to use the copy constructor if you need to store the Pattern any longer). | |
double | shiftDistance |
Distance to translate the unscaled prototype before filling, measured from the ruler origin. | |
core::Angle | shiftAngle |
Angle to translate the unscaled prototype before filling. | |
double | scaleX |
Fraction to scale the prototype along the x-axis before filling. | |
double | scaleY |
Fraction to scale the prototype along the y-axis before filling. | |
core::Angle | rotation |
Angle to rotate the prototype before filling. | |
bool | reflect |
When true, the prototype is reflected before filling. | |
core::Angle | reflectAngle |
Axis around which to reflect. | |
core::Angle | shearAngle |
Angle to slant the shear by. | |
core::Angle | shearAxis |
Axis to shear with respect to. | |
core::TransformMatrix | transform |
Additional transformation arising from manipulating the path. | |
Describes a pattern that has been applied to some art.
hdi::core::ArtColor::PatternStyle::PatternStyle | ( | ) |
Constructs a new PatternStyle object with default values.
hdi::core::ArtColor::PatternStyle::PatternStyle | ( | const PatternStyle & | patt_ | ) |
Constructs a new PatternStyle object from an existing PatternStyle.
patt_ | Existing PatternStyle object to copy values from |
hdi::core::ArtColor::PatternStyle::PatternStyle | ( | const core::Pattern & | pattern_, |
const double | shiftDist_, | ||
const core::Angle & | shiftAngle_, | ||
const double | scaleX_, | ||
const double | scaleY_, | ||
const core::Angle & | rotation_, | ||
const bool | reflect_, | ||
const core::Angle & | reflectAngle_, | ||
const core::Angle & | shearAngle_, | ||
const core::Angle & | shearAxis_, | ||
const core::TransformMatrix & | transform_ | ||
) |
Constructs a new PatternStyle object with the given values.
pattern_ | (See pattern member description) |
shiftDist_ | (See shiftDistance member description) |
shiftAngle_ | (See shiftAngle member description) |
scaleX_ | (See scaleX member description) |
scaleY_ | (See scaleY member description) |
rotation_ | (See rotation member description) |
reflect_ | (See reflect member description) |
reflectAngle_ | (See reflectAngle member description) |
shearAngle_ | (See shearAngle member description) |
shearAxis_ | (See shearAxis member description) |
transform_ | (See transform member description) |
|
virtual |
Destructs a PatternStyle object.
PatternStyle & hdi::core::ArtColor::PatternStyle::operator= | ( | const PatternStyle & | rhs_ | ) |
PatternStyle assignment operator.
rhs_ | Existing PatternStyle object to copy values from (righthand side of the assignment operator) |