Bug 74758

Summary: Canvas should respect backing store scale ratio when used as drawImage() source
Product: WebKit Reporter: Tim Horton <thorton>
Component: CanvasAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: adele, eoconnor, mdelaney7, simon.fraser, timothy
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch simon.fraser: review+, simon.fraser: commit-queue-

Tim Horton
Reported 2011-12-16 15:12:52 PST
The source rectangle passed into drawImage() when using a Canvas source is interpreted in backing store space, when it should instead be interpreted in the Canvas pixel space. <rdar://problem/10350194> I have a patch.
Attachments
patch (5.00 KB, patch)
2011-12-16 15:20 PST, Tim Horton
simon.fraser: review+
simon.fraser: commit-queue-
Tim Horton
Comment 1 2011-12-16 15:20:59 PST
Simon Fraser (smfr)
Comment 2 2011-12-16 15:23:21 PST
Comment on attachment 119685 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=119685&action=review > Source/WebCore/ChangeLog:14 > + * WebCore.xcodeproj/project.pbxproj: Huh?
Tim Horton
Comment 3 2011-12-16 15:23:49 PST
(In reply to comment #2) > (From update of attachment 119685 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=119685&action=review > > > Source/WebCore/ChangeLog:14 > > + * WebCore.xcodeproj/project.pbxproj: > > Huh? Odd. I'll fix it and commit.
Tim Horton
Comment 4 2011-12-16 15:29:29 PST
Landed in r103118.
Note You need to log in before you can comment on or make changes to this bug.