Opened 10 years ago

Closed 10 years ago

#10273 closed enhancement (fixed)

Support for arbitrary view transforms

Reported by: pulkomandy Owned by: stippi
Priority: normal Milestone: Unscheduled
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

BView drawing has support for basic transformations: scale and translate. Support for arbitrary transformations would be nice to have. This could maybe use the BAffineTransform class.

This would help with complete support for WebKit HTML canvas code: missing at least rotations and different X and Y scaling factors, but probably also combination of transforms.

The older SetScale and SetOrigin methods could affect the current matrix. Not sure what Scale and Origin should return in that case, however.

Change History (3)

comment:1 by pulkomandy, 10 years ago

(creating tickets so I can cross-reference issues in WebKit test expectations file)

comment:2 by anevilyak, 10 years ago

Owner: changed from axeld to stippi
Status: newassigned

comment:3 by pulkomandy, 10 years ago

Resolution: fixed
Status: assignedclosed

This is implemented, now.

Note: See TracTickets for help on using tickets.