Gets or sets the definition of an optional transformation from the pattern coordinate system onto the target coordinate system.
HRESULT ISVGPatternElement::get_patternTransform(ISVGAnimatedTransformList **p);HRESULT ISVGPatternElement::put_patternTransform(ISVGAnimatedTransformList *v);
- Address of a pointer to a variable of type ISVGAnimatedTransformList interface that receives a list of transform definitions that are separated by white space or a comma. The transforms are applied in the order that they are listed.
- Pointer to a variable of type ISVGAnimatedTransformList interface that specifies a list of transform definitions that are separated by white space or a comma. The transforms are applied in the order that they are listed.
matrix(<a> <b> <c> <d> <e> <f>) A transformation in the form of a square transformation matrix of six values.
matrix(a,b,c,d,e,f)is equivalent to applying the
matrix [a b c d e f]transformation.
translate(<tx> [<ty>]) A translation by
ty. If you do not provide
ty, it is treated as if it is zero.
scale(<sx> [<sy>]) A scale operation by
sy. If you do not provide
sy, it is treated as if it is equal to
rotate(<rotate-angle> [<cx> <cy>]) A rotation by
rotate-angledegrees about a given point. If you do not provide the optional
cyparameters, the rotation is about the origin of the current user coordinate system. The operation corresponds to the matrix
[cos(a) sin(a) -sin(a) cos(a) 0 0]. If you provide the optional
cyparameters, the rotation is about the point (cx, cy). The operation represents the equivalent of the following specification:
translate(<cx>, <cy>) rotate(<rotate-angle>) translate(-<cx>, -<cy>).
skewX(<skew-angle>) A skew transformation along the x-axis. skewY(<skew-angle>) A skew transformation along the y-axis.
Returns S_OK if successful, or an error value otherwise.
The ISVGPatternElement::patternTransform property enables options such as skewing the pattern tiles.
The additional transformation matrix that ISVGPatternElement::patternTransform gets or sets is post-multiplied to (that is, inserted to the right of) any previously defined transformations, including the implicit transformation that is required to convert from object bounding box units to user space.