[haiku-bugs] Re: [Haiku] #9569: [WebKit] claims to support SVG but doesn't

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Fri, 03 Jan 2014 14:44:56 -0000

#9569: [WebKit] claims to support SVG but doesn't
----------------------------------------+-------------------------
   Reporter:  waddlesplash              |      Owner:  leavengood
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1
  Component:  Applications/WebPositive  |    Version:  R1/alpha4.1
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+-------------------------

Comment (by pulkomandy):

 Some more details on what's missing: WebKit SVG drawing make use of affine
 transforms to translate the SVG drawing to the right place on the page.
 For this to work, we need to implement GraphicsContext::concatCTM in
 
https://github.com/haiku/webkit/blob/rebased/Source/WebCore/platform/graphics/haiku/GraphicsContextHaiku.cpp.

 This in turn requires arbitrary transformations support in BView, likely
 using the existing BAffineTransform class for the API. On app_server side,
 this can be converted into an agg matrix.

 We still need to defie how this should be interacting with the existing
 methods to set the view scale and offset. These could be applied before or
 after the matrix, or they could modify the matrix instead of working
 separately. Quick tests with concatCTM also show some unexpected results
 with regard to clipping. I don't know if an actual implementation on BView
 side would have similar problems.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9569#comment:6>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: