Reviewed by john.
* WebCoreSupport.subproj/WebImageData.m: use the height of the inRect instead of the fromRect when setting the origin of the context
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8301
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-01-05 Chris Blumenberg <cblu@apple.com>
+
+ Fixed: <rdar://problem/3936865> REGRESSION: canvas.drawImage no longer scales properly
+
+ Reviewed by john.
+
+ * WebCoreSupport.subproj/WebImageData.m: use the height of the inRect instead of the fromRect when setting the origin of the context
+
2005-01-04 Chris Blumenberg <cblu@apple.com>
Fixed: <rdar://problem/3928329> WebKit should pass nil for "language" to checkSpellingOfString:
CGContextSetCompositeOperation (aContext, op);
CGContextTranslateCTM (aContext, ir.origin.x, ir.origin.y);
CGContextScaleCTM (aContext, 1, -1);
- CGContextTranslateCTM (aContext, 0, -fr.size.height);
+ CGContextTranslateCTM (aContext, 0, -ir.size.height);
// Translated to origin, now draw at 0,0.
ir.origin.x = ir.origin.y = 0;