[haiku-development] Re: [PATCH] Affine transformations (BAffineTransform)

  • From: "Stephen Deken" <stephen.deken@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 15 Oct 2008 15:22:11 -0500

I've reworked my BAffineTransform class with the following changes:

    * Now located in libshared instead of the Interface kit.
    * Based on libagg, similar to the Transformable class in libicon
    * Shear operation is now supported
    * Rotating / shearing / scaling now have overloads that take a
BPoint for the center

Not all methods defined by the libicon Transformable are implemented.
They should be added before this patch is accepted; after it's in then
libicon might be able to use this instead of Transformable.

It should be fairly straightforward to use this class in conjunction
with the webkit AffineTransform class.


Other related posts: