On Wed, Dec 3, 2008 at 1:27 PM, _why <[EMAIL PROTECTED]> wrote: > > Their images have `mirrorH` and `mirrorV` methods for this. (And > `setTint`.) Though I think it would be hand to add `matrix` as well, > to define your own transformations. > <http://www.cairographics.org/matrix_transform/>
If you do, it'd also be neat to have a transformation toolchain, so we could say transform = flip(:horiz) * rotate(90) * shear(2,3) or possibly transorm = Matrix::Identity.flip(:horiz).rotate(90).shear(2,3) martin
