|
Clean up transform methods in GraphicsContext.
GraphicsContext::scale takes a FloatSize, which is not the way most
callers wish to invoke it. Here we change it to take x and y scale.
GraphicsContext::getCTM is not truly reflective of the tranforms
applied to get a pixel on the screen, as it ignores compositor applied
transforms. There are numerous locations where the CTM is used to test
pixel-level results, such as the width of a line. These tests are not
accurate in the presence of high DPI or other zoom factors. Each
location gets a FIXME indicating the problem.
R=fmalita,esprehn
BUG= 383070, 382491
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175960
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+88 lines, -71 lines) |
Patch |
 |
M |
Source/core/frame/LocalFrame.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/PrintContext.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/ImageQualityController.cpp
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderBox.cpp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderBoxModelObject.cpp
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerScrollableArea.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderTheme.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderThemeChromiumDefault.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderThemeChromiumMac.mm
|
View
|
1
|
7 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderThemeChromiumSkia.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderWidget.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/svg/RenderSVGResourceFilter.cpp
|
View
|
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/svg/RenderSVGResourcePattern.cpp
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/svg/SVGInlineTextBox.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/svg/SVGRenderingContext.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/svg/graphics/SVGImage.cpp
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/platform/DragImage.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/CrossfadeGeneratedImage.cpp
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/GradientGeneratedImage.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/GraphicsContext.h
|
View
|
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/GraphicsContext.cpp
|
View
|
|
5 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/GraphicsContextTest.cpp
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/filters/FETile.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/platform/mac/ThemeMac.mm
|
View
|
1
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/web/WebLocalFrameImpl.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|