Chromium Code Reviews| Index: plugin/idl/pattern.idl |
| =================================================================== |
| --- plugin/idl/pattern.idl (revision 71191) |
| +++ plugin/idl/pattern.idl (working copy) |
| @@ -75,6 +75,24 @@ |
| double green, |
| double blue, |
| double alpha); |
| + |
| + %[ |
| + Set the affine transformation matrix that maps user space to pattern space. |
| + The default matrix is the identity matrix, so that no transformation occurs. |
| + |
| + \param xx xx component of the affine transformation |
| + \param yx yx component of the affine transformation |
| + \param xy xy component of the affine transformation |
| + \param yy yy component of the affine transformation |
| + \param x0 X translation component of the affine transformation |
| + \param y0 Y translation component of the affine transformation |
| + %] |
|
fbarchard
2011/01/19 18:51:20
this is a 2x2 matrix rotation? So you can rotate
Tristan Schmelcher 2
2011/01/20 00:26:16
No, it is an affine transform, i.e. a 3x3 matrix.
|
| + void SetAffineTransform(double xx, |
| + double yx, |
| + double xy, |
| + double yy, |
| + double x0, |
| + double y0); |
| }; // Pattern |
| } // namespace o2d |