Changeset 35913 in webkit


Ignore:
Timestamp:
Aug 25, 2008 12:10:22 AM (16 years ago)
Author:
Simon Hausmann
Message:

008-08-25 Dirk Schulze <vbs85@gmx.de>

Reviewed by Simon.

Transformed the radian to degree, to get rotate()
in canvas work as expected.

[Qt] Canvas.rotate() doesn't work
https://bugs.webkit.org/show_bug.cgi?id=20496

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r35912 r35913  
     12008-08-25  Dirk Schulze  <vbs85@gmx.de>
     2
     3        Reviewed by Simon.
     4
     5        Transformed the radian to degree, to get rotate()
     6        in canvas work as expected.
     7
     8        [Qt] Canvas.rotate() doesn't work
     9        https://bugs.webkit.org/show_bug.cgi?id=20496
     10
     11        * platform/graphics/qt/GraphicsContextQt.cpp:
     12        (WebCore::GraphicsContext::rotate):
     13
    1142008-08-24  Steve Falkenburg  <sfalken@apple.com>
    215
  • trunk/WebCore/platform/graphics/qt/GraphicsContextQt.cpp

    r35741 r35913  
    809809        return;
    810810
    811     m_data->p()->rotate(radians);
     811    m_data->p()->rotate(180/M_PI*radians);
    812812}
    813813
Note: See TracChangeset for help on using the changeset viewer.