|
| 1 | +2006-08-27 Rob Buis <buis@kde.org> |
| 2 | + |
| 3 | + Reviewed by Eric. |
| 4 | + |
| 5 | + http://bugzilla.opendarwin.org/show_bug.cgi?id=10557 |
| 6 | + KCanvasPath should be replace by platform/Path |
| 7 | + |
| 8 | + Refactoring out the KCanvasPath class. |
| 9 | + |
| 10 | + * CMakeLists.txt: |
| 11 | + * WebCore.xcodeproj/project.pbxproj: |
| 12 | + * kcanvas/KCanvasCreator.cpp: |
| 13 | + (WebCore::KCanvasCreator::createRoundedRectangle): |
| 14 | + (WebCore::KCanvasCreator::createRectangle): |
| 15 | + (WebCore::KCanvasCreator::createEllipse): |
| 16 | + (WebCore::KCanvasCreator::createCircle): |
| 17 | + (WebCore::KCanvasCreator::createLine): |
| 18 | + * kcanvas/KCanvasCreator.h: |
| 19 | + * kcanvas/KCanvasPath.cpp: Removed. |
| 20 | + * kcanvas/KCanvasPath.h: Removed. |
| 21 | + * kcanvas/KCanvasResources.cpp: |
| 22 | + (WebCore::operator<<): |
| 23 | + (WebCore::KCanvasResource::clients): |
| 24 | + (WebCore::KCanvasResource::invalidate): |
| 25 | + (WebCore::KCanvasClipper::addClipData): |
| 26 | + * kcanvas/KCanvasResources.h: |
| 27 | + (WebCore::KCClipData::windRule): |
| 28 | + (WebCore::KCClipDataList::KCClipDataList): |
| 29 | + (WebCore::KCClipDataList::addPath): |
| 30 | + * kcanvas/KCanvasTreeDebug.cpp: |
| 31 | + (WebCore::operator<<): |
| 32 | + * kcanvas/RenderPath.cpp: |
| 33 | + (WebCore::RenderPath::fillContains): |
| 34 | + (WebCore::RenderPath::relativeBBox): |
| 35 | + (WebCore::RenderPath::setPath): |
| 36 | + (WebCore::RenderPath::path): |
| 37 | + (WebCore::RenderPath::paint): |
| 38 | + (WebCore::RenderPath::nodeAtPoint): |
| 39 | + * kcanvas/RenderPath.h: |
| 40 | + * kcanvas/device/KRenderingDevice.h: |
| 41 | + * kcanvas/device/KRenderingFillPainter.cpp: |
| 42 | + (WebCore::KRenderingFillPainter::fillRule): |
| 43 | + (WebCore::KRenderingFillPainter::setFillRule): |
| 44 | + * kcanvas/device/KRenderingFillPainter.h: |
| 45 | + * kcanvas/device/qt/KCanvasClipperQt.cpp: |
| 46 | + (WebCore::KCanvasClipperQt::applyClip): |
| 47 | + * kcanvas/device/qt/KCanvasPathQt.cpp: Removed. |
| 48 | + * kcanvas/device/qt/KCanvasPathQt.h: Removed. |
| 49 | + * kcanvas/device/qt/KRenderingDeviceQt.cpp: |
| 50 | + (WebCore::KRenderingDeviceContextQt::addPath): |
| 51 | + (WebCore::KRenderingDeviceContextQt::setFillRule): |
| 52 | + (WebCore::KRenderingDeviceQt::createItem): |
| 53 | + * kcanvas/device/qt/KRenderingDeviceQt.h: |
| 54 | + * kcanvas/device/qt/RenderPathQt.cpp: |
| 55 | + (WebCore::RenderPathQt::drawMarkersIfNeeded): |
| 56 | + (WebCore::RenderPathQt::strokeContains): |
| 57 | + (WebCore::getPathStroke): |
| 58 | + (WebCore::RenderPathQt::strokeBBox): |
| 59 | + * kcanvas/device/qt/RenderPathQt.h: |
| 60 | + * kcanvas/device/quartz/KCanvasItemQuartz.h: |
| 61 | + * kcanvas/device/quartz/KCanvasItemQuartz.mm: |
| 62 | + (WebCore::KCanvasItemQuartz::drawMarkersIfNeeded): |
| 63 | + (WebCore::KCanvasItemQuartz::strokeBBox): |
| 64 | + (WebCore::KCanvasItemQuartz::strokeContains): |
| 65 | + * kcanvas/device/quartz/KCanvasPathQuartz.h: Removed. |
| 66 | + * kcanvas/device/quartz/KCanvasPathQuartz.mm: Removed. |
| 67 | + * kcanvas/device/quartz/KCanvasResourcesQuartz.mm: |
| 68 | + (WebCore::KCanvasClipperQuartz::applyClip): |
| 69 | + * kcanvas/device/quartz/KRenderingDeviceQuartz.h: |
| 70 | + * kcanvas/device/quartz/KRenderingDeviceQuartz.mm: |
| 71 | + (WebCore::KRenderingDeviceContextQuartz::addPath): |
| 72 | + (WebCore::KRenderingDeviceQuartz::createItem): |
| 73 | + * kcanvas/device/quartz/QuartzSupport.h: |
| 74 | + * kcanvas/device/quartz/QuartzSupport.mm: |
| 75 | + (WebCore::scratchContext): |
| 76 | + (WebCore::strokeBoundingBox): |
| 77 | + (WebCore::pathContainsPoint): |
| 78 | + * ksvg2/css/SVGCSSParser.cpp: |
| 79 | + (WebCore::CSSParser::parseSVGValue): |
| 80 | + * ksvg2/css/SVGCSSStyleSelector.cpp: |
| 81 | + (WebCore::CSSStyleSelector::applySVGProperty): |
| 82 | + * ksvg2/css/SVGRenderStyle.h: |
| 83 | + (WebCore::SVGRenderStyle::InheritedFlags::): |
| 84 | + * ksvg2/css/SVGRenderStyleDefs.h: |
| 85 | + * ksvg2/misc/KCanvasRenderingStyle.cpp: |
| 86 | + (WebCore::KSVGPainterFactory::fillPainter): |
| 87 | + * ksvg2/svg/SVGCircleElement.cpp: |
| 88 | + (SVGCircleElement::toPathData): |
| 89 | + * ksvg2/svg/SVGCircleElement.h: |
| 90 | + * ksvg2/svg/SVGClipPathElement.cpp: |
| 91 | + (SVGClipPathElement::canvasResource): |
| 92 | + * ksvg2/svg/SVGEllipseElement.cpp: |
| 93 | + (WebCore::SVGEllipseElement::toPathData): |
| 94 | + * ksvg2/svg/SVGEllipseElement.h: |
| 95 | + * ksvg2/svg/SVGGradientElement.cpp: |
| 96 | + (SVGGradientElement::notifyAttributeChange): |
| 97 | + * ksvg2/svg/SVGImageElement.cpp: |
| 98 | + * ksvg2/svg/SVGLineElement.cpp: |
| 99 | + (SVGLineElement::toPathData): |
| 100 | + * ksvg2/svg/SVGLineElement.h: |
| 101 | + * ksvg2/svg/SVGMaskElement.cpp: |
| 102 | + * ksvg2/svg/SVGPathElement.cpp: |
| 103 | + (WebCore::SVGPathElement::toPathData): |
| 104 | + * ksvg2/svg/SVGPathElement.h: |
| 105 | + * ksvg2/svg/SVGPatternElement.cpp: |
| 106 | + (WebCore::SVGPatternElement::notifyClientsToRepaint): |
| 107 | + * ksvg2/svg/SVGPolygonElement.cpp: |
| 108 | + (SVGPolygonElement::toPathData): |
| 109 | + * ksvg2/svg/SVGPolygonElement.h: |
| 110 | + * ksvg2/svg/SVGPolylineElement.cpp: |
| 111 | + (SVGPolylineElement::toPathData): |
| 112 | + * ksvg2/svg/SVGPolylineElement.h: |
| 113 | + * ksvg2/svg/SVGRectElement.cpp: |
| 114 | + (WebCore::SVGRectElement::toPathData): |
| 115 | + * ksvg2/svg/SVGRectElement.h: |
| 116 | + * ksvg2/svg/SVGStyledElement.cpp: |
| 117 | + (WebCore::SVGStyledElement::createRenderer): |
| 118 | + * ksvg2/svg/SVGStyledElement.h: |
| 119 | + (WebCore::SVGStyledElement::toPathData): |
| 120 | + * ksvg2/svg/SVGTextContentElement.cpp: |
| 121 | + * ksvg2/svg/SVGTextElement.cpp: |
| 122 | + * platform/Path.h: |
| 123 | + (WebCore::): |
| 124 | + (WebCore::Path::setWindingRule): |
| 125 | + (WebCore::Path::windingRule): |
| 126 | + * platform/cg/PathCG.cpp: |
| 127 | + (WebCore::Path::contains): |
| 128 | + (WebCore::Path::isEmpty): |
| 129 | + (WebCore::CGPathToCFStringApplierFunction): |
| 130 | + (WebCore::CFStringFromCGPath): |
| 131 | + (WebCore::Path::debugString): |
| 132 | + * platform/qt/FrameQt.cpp: |
| 133 | + (WebCore::FrameQt::openURL): |
| 134 | + * platform/qt/PathQt.cpp: |
| 135 | + (WebCore::Path::contains): |
| 136 | + (WebCore::Path::isEmpty): |
| 137 | + (WebCore::Path::debugString): |
| 138 | + |
1 | 139 | 2006-08-26 Eric Seidel <eric@eseidel.com> |
2 | 140 |
|
3 | 141 | Reviewed by hyatt. |
|
0 commit comments