Commit 3924f3a0 authored by ap's avatar ap

Reviewed by Eric.

        Daily Qt build fixes :-)

        * platform/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::drawConvexPolygon):
        * platform/qt/ImageQt.cpp:
        (WebCore::Image::initPlatformData):
        (WebCore::Image::invalidatePlatformData):
        (WebCore::Image::loadPlatformResource):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d3631bba
2006-08-26 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric.
Daily Qt build fixes :-)
* platform/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::drawConvexPolygon):
* platform/qt/ImageQt.cpp:
(WebCore::Image::initPlatformData):
(WebCore::Image::invalidatePlatformData):
(WebCore::Image::loadPlatformResource):
2006-08-26 David Hyatt <hyatt@apple.com>
Fix the ifdef in Path.h to be CG.
......
......@@ -418,12 +418,13 @@ void GraphicsContext::drawArc(const IntRect& rect, float thickness,
m_data->p().setPen(oldPen);
}
void GraphicsContext::drawConvexPolygon(size_t npoints, const IntPoint* points)
void GraphicsContext::drawConvexPolygon(size_t npoints, const FloatPoint* points, bool shouldAntialias)
{
if (paintingDisabled())
return;
m_data->p().drawConvexPolygon(reinterpret_cast<const QPoint*>(points), npoints);
// FIXME: Take 'shouldAntialias' into account...
m_data->p().drawConvexPolygon(reinterpret_cast<const QPointF*>(points), npoints);
}
void GraphicsContext::fillRect(const IntRect& rect, const Color& c)
......
......@@ -60,19 +60,15 @@ void FrameData::clear()
// Image Class
// ================================================
void Image::initNativeData()
void Image::initPlatformData()
{
}
void Image::destroyNativeData()
void Image::invalidatePlatformData()
{
}
void Image::invalidateNativeData()
{
}
Image* Image::loadResource(const char* name)
Image* Image::loadPlatformResource(const char* name)
{
Vector<char> arr = loadResourceIntoArray(name);
Image* img = new Image();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment