diff options
Diffstat (limited to 'WebCore/platform/graphics/wince/GraphicsContextWinCE.cpp')
-rw-r--r-- | WebCore/platform/graphics/wince/GraphicsContextWinCE.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/WebCore/platform/graphics/wince/GraphicsContextWinCE.cpp b/WebCore/platform/graphics/wince/GraphicsContextWinCE.cpp index 4faa29d..0802826 100644 --- a/WebCore/platform/graphics/wince/GraphicsContextWinCE.cpp +++ b/WebCore/platform/graphics/wince/GraphicsContextWinCE.cpp @@ -1325,12 +1325,8 @@ Color gradientAverageColor(const Gradient* gradient) , (stop.alpha + lastStop.alpha) * 0.5f); } -void GraphicsContext::fillPath(const Path& path) +void GraphicsContext::fillPath() { - // FIXME: Be smarter about this. - beginPath(); - addPath(path); - Color c = m_common->state.fillGradient ? gradientAverageColor(m_common->state.fillGradient.get()) : fillColor(); @@ -1380,10 +1376,6 @@ void GraphicsContext::strokePath() if (!m_data->m_dc) return; - // FIXME: Be smarter about this. - beginPath(); - addPath(path); - OwnPtr<HPEN> pen = createPen(strokeColor(), strokeThickness(), strokeStyle()); if (m_data->m_opacity < 1.0f || m_data->hasAlpha()) { @@ -1908,7 +1900,7 @@ void GraphicsContext::setLineDash(const DashArray&, float) notImplemented(); } -void GraphicsContext::clipPath(const Path&, WindRule) +void GraphicsContext::clipPath(WindRule) { notImplemented(); } |