Changeset 65017 in webkit
- Timestamp:
- Aug 9, 2010 5:00:01 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r65016 r65017 1 2010-08-09 Ariya Hidayat <ariya@sencha.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Need to implement GraphicsContextQt::clipConvexPolygon() 6 https://bugs.webkit.org/show_bug.cgi?id=41310 7 8 Based on the prototype code by Simon Hausmann. 9 10 * platform/graphics/qt/GraphicsContextQt.cpp: 11 (WebCore::GraphicsContext::clipConvexPolygon): 12 * rendering/RenderObject.h: 13 1 14 2010-08-09 Chris Fleizach <cfleizach@apple.com> 2 15 -
trunk/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
r64971 r65017 537 537 if (numPoints <= 1) 538 538 return; 539 540 // FIXME: IMPLEMENT!! 539 540 QPainterPath path(points[0]); 541 for (size_t i = 1; i < numPoints; ++i) 542 path.lineTo(points[i]); 543 path.setFillRule(Qt::WindingFill); 544 m_data->p()->setClipPath(path, Qt::IntersectClip); 541 545 } 542 546 -
trunk/WebCore/rendering/RenderObject.h
r64338 r65017 39 39 #include <wtf/UnusedParam.h> 40 40 41 #if PLATFORM(CG) || PLATFORM(CAIRO) 41 #if PLATFORM(CG) || PLATFORM(CAIRO) || PLATFORM(QT) 42 42 #define HAVE_PATH_BASED_BORDER_RADIUS_DRAWING 1 43 43 #endif
Note: See TracChangeset
for help on using the changeset viewer.