Bug 16629: <canvas> does not support isPointInPath()
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Jan 2008 07:04:56 +0000 (07:04 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Jan 2008 07:04:56 +0000 (07:04 +0000)
commita515f4d9313c8e47277c51b0ca253174938497ee
treee3b631fb0e78aabd643c192e7e159cb24461e1f5
parent3c5fac55401718eb3f95d3cd1523fb3e98a14997
Bug 16629: <canvas> does not support isPointInPath()

Reviewed by Sam Weinig.

Relatively trivial change to implement pointInPath and add
it to the bindings.  Most of this patch is the addition of
GraphicsContext::getCTM() by pulling the various platform
implementations from CanvasRenderingContext2D::willDraw

Test: fast/canvas/pointInPath.html

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/canvas/pointInPath-expected.txt [new file with mode: 0644]
LayoutTests/fast/canvas/pointInPath.html [new file with mode: 0644]
LayoutTests/fast/canvas/pointInPath.js [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/CanvasRenderingContext2D.cpp
WebCore/html/CanvasRenderingContext2D.h
WebCore/html/CanvasRenderingContext2D.idl
WebCore/platform/graphics/AffineTransform.cpp
WebCore/platform/graphics/AffineTransform.h
WebCore/platform/graphics/GraphicsContext.h
WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp
WebCore/platform/graphics/cg/GraphicsContextCG.cpp
WebCore/platform/graphics/qt/GraphicsContextQt.cpp