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

  • From: "Ryan Leavengood" <leavengood@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 11 Oct 2008 12:34:21 -0400

On Fri, Oct 10, 2008 at 6:52 PM, Stephan Assmus <superstippi@xxxxxx> wrote:
>
> For some reason, I cannot look at or download the patch, but I did a
> "Transformable" class in src/libs/icon/transformable, which you can look
> at. This class could even be made into a system API like you are
> planning, it should be fairly complete. The backend is based on AGG
> (which itself is BSD licensed).

Whatever you guys decide on, an affine transform class would be very
useful in Haiku because I could use it in the WebKit port. In fact
there is an AffineTransformHaiku class in the Haiku WebKit platform
code that currently does nothing. I have not looked closely at this
patch or the Transformable class, but I just wanted to make it known
that making this "pseudo-public" would be useful outside what you guys
are talking about.

Here is the AffineTransform.h file from WebKit (maybe a little out of date):

https://dev.mobileread.com/trac/webkitbrowser/browser/trunk/WebKit-r30377/WebCore/platform/graphics/AffineTransform.h?rev=3

Here is the AffineTransform.cpp that defines the common methods not
specific to each platform:

https://dev.mobileread.com/trac/webkitbrowser/browser/trunk/WebKit-r30377/WebCore/platform/graphics/AffineTransform.cpp?rev=3

Regards,
Ryan

Other related posts: