Changeset 56382 in webkit
- Timestamp:
- Mar 22, 2010 11:48:58 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r56380 r56382 1 2010-03-22 Qi Zhang <qi.2.zhang@nokia.com> 2 3 Reviewed by Laszlo Gombos. 4 5 Qt] Fix arc function in canvas 6 https://bugs.webkit.org/show_bug.cgi?id=36296 7 8 * platform/qt/Skipped: 9 * platform/qt/fast/canvas/arc360-expected.checksum: Added. 10 * platform/qt/fast/canvas/arc360-expected.png: Added. 11 * platform/qt/fast/canvas/arc360-expected.txt: Added. 12 1 13 2010-03-19 Abhishek Arya <inferno@chromium.org> 2 14 -
trunk/LayoutTests/platform/qt/Skipped
r56369 r56382 5031 5031 editing/inserting/insert-bg-font.html 5032 5032 editing/selection/transformed-selection-rects.html 5033 fast/canvas/arc360.html5034 5033 fast/css/color-correction-backgrounds-and-text.html 5035 5034 fast/css/color-correction-on-background-image.html -
trunk/WebCore/ChangeLog
r56380 r56382 1 2010-03-22 Qi Zhang <qi.2.zhang@nokia.com> 2 3 Reviewed by Laszlo Gombos. 4 5 [Qt] Fix arc function in canvas 6 https://bugs.webkit.org/show_bug.cgi?id=36296 7 8 Based on HTLM5 spec (4.8.10.1.8 Complex shapes), arc function should draw a line to previous point, not only the arc. 9 10 * platform/graphics/qt/PathQt.cpp: 11 (WebCore::Path::addArc): 12 1 13 2010-03-19 Abhishek Arya <inferno@chromium.org> 2 14 -
trunk/WebCore/platform/graphics/qt/PathQt.cpp
r54503 r56382 270 270 } 271 271 272 m_path.moveTo(QPointF(xc + radius * cos(sar), 272 // connect to the previous point by a straight line 273 m_path.lineTo(QPointF(xc + radius * cos(sar), 273 274 yc - radius * sin(sar))); 274 275 275 276 m_path.arcTo(xs, ys, width, height, sa, span); 277 276 278 } 277 279
Note: See TracChangeset
for help on using the changeset viewer.