Reviewed by Oliver Hunt.
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Oct 2008 00:08:44 +0000 (00:08 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Oct 2008 00:08:44 +0000 (00:08 +0000)
commit73c8ac645d016ff115eba63df092d965a1ccb282
treed27ea835ef2ab045759abaf64a6dceb25ed25db8
parent2c07a64d28b8471da04577d0b877d3b750e390cf
    Reviewed by Oliver Hunt.

        Fix transformed patterns
        https://bugs.webkit.org/show_bug.cgi?id=21498

        Test: fast/canvas/patternfill-repeat.html

        * WebCore.xcodeproj/project.pbxproj:
        * platform/graphics/GraphicsContext.cpp:
        (WebCore::GraphicsContext::setStrokePattern):
        (WebCore::GraphicsContext::setFillPattern):
        (WebCore::GraphicsContext::setStrokeGradient):
        (WebCore::GraphicsContext::setFillGradient):
        * platform/graphics/GraphicsContext.h:
        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        * platform/graphics/cg/GraphicsContextCG.cpp:
        (WebCore::applyStrokePattern):
        (WebCore::applyFillPattern):
        (WebCore::GraphicsContext::drawPath):
        (WebCore::GraphicsContext::fillPath):
        (WebCore::GraphicsContext::strokePath):
        (WebCore::GraphicsContext::fillRect):
        * platform/graphics/qt/GraphicsContextQt.cpp:
        * platform/graphics/wx/GraphicsContextWx.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
55 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/canvas/canvas-transform-identity-expected.png
LayoutTests/fast/canvas/canvas-transform-infinity-expected.png
LayoutTests/fast/canvas/canvas-transform-multiply-expected.png
LayoutTests/fast/canvas/canvas-transform-nan-expected.png
LayoutTests/fast/canvas/canvas-transform-non-invertible-expected.png
LayoutTests/fast/canvas/canvas-transform-skewed-expected.png
LayoutTests/platform/mac/fast/canvas/canvas-before-css-expected.checksum
LayoutTests/platform/mac/fast/canvas/canvas-before-css-expected.png
LayoutTests/platform/mac/fast/canvas/canvas-bg-expected.png
LayoutTests/platform/mac/fast/canvas/canvas-composite-expected.checksum
LayoutTests/platform/mac/fast/canvas/canvas-composite-expected.png
LayoutTests/platform/mac/fast/canvas/canvas-draw-xbm-image-expected.checksum
LayoutTests/platform/mac/fast/canvas/canvas-draw-xbm-image-expected.png
LayoutTests/platform/mac/fast/canvas/canvas-resize-reset-expected.checksum
LayoutTests/platform/mac/fast/canvas/canvas-resize-reset-expected.png
LayoutTests/platform/mac/fast/canvas/canvas-size-change-after-layout-expected.checksum
LayoutTests/platform/mac/fast/canvas/canvas-size-change-after-layout-expected.png
LayoutTests/platform/mac/fast/canvas/canvas-text-alignment-expected.png
LayoutTests/platform/mac/fast/canvas/canvas-text-baseline-expected.png
LayoutTests/platform/mac/fast/canvas/canvas-transforms-during-path-expected.checksum
LayoutTests/platform/mac/fast/canvas/canvas-transforms-during-path-expected.png
LayoutTests/platform/mac/fast/canvas/canvasDrawingIntoSelf-expected.png
LayoutTests/platform/mac/fast/canvas/drawImage-expected.png
LayoutTests/platform/mac/fast/canvas/fillrect-gradient-zero-stops-expected.checksum
LayoutTests/platform/mac/fast/canvas/fillrect-gradient-zero-stops-expected.png
LayoutTests/platform/mac/fast/canvas/fillrect_gradient-expected.checksum
LayoutTests/platform/mac/fast/canvas/fillrect_gradient-expected.png
LayoutTests/platform/mac/fast/canvas/gradient-add-second-start-end-stop-expected.checksum
LayoutTests/platform/mac/fast/canvas/gradient-add-second-start-end-stop-expected.png
LayoutTests/platform/mac/fast/canvas/gradient-empty-path-expected.checksum
LayoutTests/platform/mac/fast/canvas/gradient-empty-path-expected.png
LayoutTests/platform/mac/fast/canvas/image-object-in-canvas-expected.checksum
LayoutTests/platform/mac/fast/canvas/image-object-in-canvas-expected.png
LayoutTests/platform/mac/fast/canvas/patternfill-repeat-expected.checksum
LayoutTests/platform/mac/fast/canvas/patternfill-repeat-expected.png
LayoutTests/platform/mac/fast/canvas/quadraticCurveTo-expected.checksum
LayoutTests/platform/mac/fast/canvas/quadraticCurveTo-expected.png
LayoutTests/platform/mac/fast/canvas/shadow-offset-1-expected.png
LayoutTests/platform/mac/fast/canvas/shadow-offset-2-expected.png
LayoutTests/platform/mac/fast/canvas/shadow-offset-3-expected.png
LayoutTests/platform/mac/fast/canvas/shadow-offset-4-expected.png
LayoutTests/platform/mac/fast/canvas/shadow-offset-5-expected.png
LayoutTests/platform/mac/fast/canvas/shadow-offset-6-expected.png
LayoutTests/platform/mac/fast/canvas/shadow-offset-7-expected.png
LayoutTests/platform/mac/fast/canvas/zero-size-fill-rect-expected.checksum
LayoutTests/platform/mac/fast/canvas/zero-size-fill-rect-expected.png
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/platform/graphics/GraphicsContext.cpp
WebCore/platform/graphics/GraphicsContext.h
WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp
WebCore/platform/graphics/cg/GraphicsContextCG.cpp
WebCore/platform/graphics/qt/GraphicsContextQt.cpp
WebCore/platform/graphics/wx/GraphicsContextWx.cpp