Searched defs:clipPath (Results 1 - 25 of 27) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DInspectorCanvas.h54 virtual bool clipPath(const SkPath&, SkRegion::Op) { function in class:WebCore::InspectorCanvas
H A DInstrumentedPlatformCanvas.h111 virtual bool clipPath(const SkPath& path, SkRegion::Op op) function in class:WebCore::InstrumentedPlatformCanvas
115 return SkCanvas::clipPath(path, op);
/external/skia/samplecode/
H A DSampleClip.cpp140 SkPath clipPath; local
142 clipPath.addRoundRect(r, SkIntToScalar(20), SkIntToScalar(20));
144 // clipPath.toggleInverseFillType();
150 canvas->clipPath(clipPath, SkRegion::kIntersect_Op, true);
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGResourceClipper.cpp113 Path clipPath = Path(); local
138 if (clipPath.isEmpty()) {
139 styled->toClipPath(clipPath);
149 clipPath.transform(transform);
152 if (clipPath.isEmpty())
153 clipPath.addRect(FloatRect());
154 context->clipPath(clipPath, clipRule);
190 // clipPath can also be clipped by another clipPath
220 SVGClipPathElement* clipPath = static_cast<SVGClipPathElement*>(node()); local
[all...]
/external/skia/src/utils/
H A DSkProxyCanvas.cpp65 bool SkProxyCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { function in class:SkProxyCanvas
66 return fProxy->clipPath(path, op, doAA);
H A DSkNWayCanvas.cpp144 bool SkNWayCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { function in class:SkNWayCanvas
147 iter->clipPath(path, op, doAA);
149 return this->INHERITED::clipPath(path, op, doAA);
H A DSkDeferredCanvas.cpp267 bool SkDeferredCanvas::clipPath(const SkPath& path, function in class:SkDeferredCanvas
270 drawingCanvas()->clipPath(path, op, doAntiAlias);
271 return this->INHERITED::clipPath(path, op, doAntiAlias);
H A DSkDumpCanvas.cpp248 bool SkDumpCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { function in class:SkDumpCanvas
251 this->dump(kClip_Verb, NULL, "clipPath(%s %s %s)", str.c_str(), toString(op),
253 return this->INHERITED::clipPath(path, op, doAA);
/external/webkit/Source/WebCore/platform/graphics/android/context/
H A DRecordingContextCanvasProxy.h64 virtual bool clipPath(const SkPath&, SkRegion::Op, bool) { /* NOT IMPLEMENTED*/ CRASH(); return -1; } function in class:WebCore::RecordingContextCanvasProxy
H A DGraphicsContextAndroid.cpp296 void GraphicsContext::clipPath(const Path& pathToClip, WindRule clipRule) function in class:WebCore::GraphicsContext
301 platformContext()->clipPath(pathToClip, clipRule);
H A DPlatformGraphicsContextSkia.cpp169 mCanvas->clipPath(path, SkRegion::kIntersect_Op, true);
184 return mCanvas->clipPath(*path.platformPath(), SkRegion::kIntersect_Op, true);
205 return mCanvas->clipPath(*path.platformPath(), SkRegion::kDifference_Op);
208 bool PlatformGraphicsContextSkia::clipPath(const Path& pathToClip, WindRule clipRule) function in class:WebCore::PlatformGraphicsContextSkia
213 return mCanvas->clipPath(path);
H A DPlatformGraphicsContextRecording.cpp750 bool PlatformGraphicsContextRecording::clipPath(const Path& pathToClip, WindRule clipRule) function in class:WebCore::PlatformGraphicsContextRecording
/external/webkit/Source/WebCore/platform/graphics/openvg/
H A DGraphicsContextOpenVG.cpp197 void GraphicsContext::clipPath(const Path& path, WindRule clipRule) function in class:WebCore::GraphicsContext
202 m_data->clipPath(path, PainterOpenVG::IntersectClip, clipRule);
380 m_data->clipPath(path, PainterOpenVG::IntersectClip, m_state.fillRule);
393 m_data->clipPath(path, PainterOpenVG::SubtractClip, m_state.fillRule);
427 m_data->clipPath(path, PainterOpenVG::SubtractClip, m_state.fillRule);
450 m_data->clipPath(path, PainterOpenVG::IntersectClip, m_state.fillRule);
H A DPainterOpenVG.cpp784 clipPath(scissorRectPath, PainterOpenVG::IntersectClip);
788 void PainterOpenVG::clipPath(const Path& path, PainterOpenVG::ClipOperation maskOp, WindRule clipRule) function in class:WebCore::PainterOpenVG
/external/skia/src/core/
H A DSkPictureRecord.cpp193 bool SkPictureRecord::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { function in class:SkPictureRecord
205 return this->INHERITED::clipPath(path, op, doAA);
H A DSkCanvas.cpp532 all calls to canvas->clipRect() and canvas->clipPath(), we can't exactly
1037 // we explicitly call "our" version of clipPath.
1041 return this->SkCanvas::clipPath(path, op, doAA);
1081 bool SkCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { function in class:SkCanvas
/external/skia/src/gpu/
H A DGrGpu.cpp634 const GrPath* clipPath = NULL; local
649 clipPath = &clip.getPath(c);
650 pr = this->getClipPathRenderer(*clipPath, fill);
657 !pr->requiresStencilPass(*clipPath, fill, this);
691 pr->drawPath(*clipPath, fill, NULL, this, 0, false);
693 pr->drawPathToStencil(*clipPath, fill, this);
709 pr->drawPath(*clipPath, fill, NULL, this, 0, false);
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DPlatformContextSkia.cpp306 void PlatformContextSkia::clipPathAntiAliased(const SkPath& clipPath) argument
313 m_state->m_antiAliasClipPaths.append(clipPath);
316 SkRect bounds = clipPath.getBounds();
572 m_canvas->clipPath(path);
H A DGraphicsContextSkia.cpp378 platformContext()->gpuCanvas()->clipPath(path);
411 platformContext()->canvas()->clipPath(path, SkRegion::kDifference_Op);
414 void GraphicsContext::clipPath(const Path& pathToClip, WindRule clipRule) function in class:WebCore::GraphicsContext
420 platformContext()->gpuCanvas()->clipPath(pathToClip);
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DGraphicsContextWx.cpp334 void GraphicsContext::clipPath(const Path&, WindRule) function in class:WebCore::GraphicsContext
/external/skia/src/pdf/
H A DSkPDFDevice.cpp259 static void emit_clip(SkPath* clipPath, SkRect* clipRect, argument
261 SkASSERT(clipPath || clipRect);
264 if (clipPath) {
265 SkPDFUtils::EmitPath(*clipPath, contentStream);
266 clipFill = clipPath->getFillType();
323 SkPath clipPath; local
324 SkAssertResult(clipRegion.getBoundaryPath(&clipPath));
325 emit_clip(&clipPath, NULL, fContentStream);
1228 SkPath clipPath; local
1229 clipRegion.getBoundaryPath(&clipPath);
[all...]
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DGraphicsContextCairo.cpp596 void GraphicsContext::clipPath(const Path& path, WindRule clipRule) function in class:WebCore::GraphicsContext
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DGraphicsContextCG.cpp448 clipPath(path, RULE_NONZERO);
851 void GraphicsContext::clipPath(const Path& path, WindRule clipRule) function in class:WebCore::GraphicsContext
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DGLES2Canvas.cpp354 void GLES2Canvas::clipPath(const Path& path) function in class:WebCore::GLES2Canvas
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DGraphicsContextQt.cpp796 void GraphicsContext::clipPath(const Path& path, WindRule clipRule) function in class:WebCore::GraphicsContext
1113 QPainterPath clipPath = path.platformPath();
1114 clipPath.setFillRule(Qt::WindingFill);
1115 m_data->p()->setClipPath(clipPath, Qt::IntersectClip);

Completed in 428 milliseconds

12