Bug 20496 - [Qt] Canvas.rotate() doesn't work
Summary: [Qt] Canvas.rotate() doesn't work
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL: http://minijoe.com/samples/tutorial/5...
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2008-08-24 04:19 PDT by Dirk Schulze
Modified: 2008-08-25 00:10 PDT (History)
1 user (show)

See Also:


Attachments
fix of rotate() in Canvas (1.13 KB, patch)
2008-08-24 04:24 PDT, Dirk Schulze
hausmann: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schulze 2008-08-24 04:19:14 PDT
rotate() in Canvas does't work as expected. The problem is, that you give a radian to the GraphicsContext, but p->rotate() need a value in degree.
Comment 1 Dirk Schulze 2008-08-24 04:24:25 PDT
Created attachment 22960 [details]
fix of rotate() in Canvas

Transformed the radian to a degree.
Comment 2 Simon Hausmann 2008-08-24 23:58:42 PDT
Comment on attachment 22960 [details]
fix of rotate() in Canvas

Good catch, thanks!
Comment 3 Simon Hausmann 2008-08-25 00:10:35 PDT
Landed in r35913