Bug 26256
| Summary: | [Qt] Canvas has wrong image-transformation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dirk Schulze <krit> |
| Component: | Layout and Rendering | Assignee: | qi <qi.2.zhang> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | ariya.hidayat, cshu, laszlo.gombos, vestbo |
| Priority: | P2 | Keywords: | Qt |
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | All | ||
Dirk Schulze
Transformations of images in HTML Canvas are wrong. As you can see in following examples:
* http://www.nihilogic.dk/labs/canvas3dtexture_0.2/
* http://www.netzgesta.de/reflex/ (shares another bug with Qt and clipping, delete complete clipping code to see the problem)
* http://www.nihilogic.dk/labs/mariokart/
This bug is maybe located at BitmapImage::draw() in WebCore/platform/graphics/qt/ImageQt.cpp
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Dirk Schulze
*** Bug 29470 has been marked as a duplicate of this bug. ***
Chang Shu
additional test cases for transformation:
http://waplabdc.nokia-boston.com/browser/users/ligman/canvas%20tests/transformations/rotate_rotate_clockwise.html
http://waplabdc.nokia-boston.com/browser/users/ligman/canvas%20tests/transformations/rotate_rotate_counterclockwise.html
http://waplabdc.nokia-boston.com/browser/users/ligman/canvas%20tests/transformations/scale_scale_2_units.html
http://waplabdc.nokia-boston.com/browser/users/ligman/canvas%20tests/transformations/set_transformation-50_units.html
http://waplabdc.nokia-boston.com/browser/users/ligman/canvas%20tests/transformations/transformation_50_units_x.html
http://waplabdc.nokia-boston.com/browser/users/ligman/canvas%20tests/transformations/transformation_50_units_y.html
http://waplabdc.nokia-boston.com/browser/users/ligman/canvas%20tests/transformations/transformation_reflect_x.html
http://waplabdc.nokia-boston.com/browser/users/ligman/canvas%20tests/transformations/transformation_reflect_y.html
qi
All the test case from Chang works fine now. I think because the "translate" issue was fixed couple weeks ago.