Home
last modified time | relevance | path

Searched refs:clipPath (Results 1 – 25 of 104) sorted by relevance

12345

/external/chromium_org/third_party/skia/gm/
Dskbug1719.cpp47 SkPath clipPath; in onDraw() local
48 clipPath.moveTo(832.f, 654.f); in onDraw()
49 clipPath.lineTo(1034.f, 654.f); in onDraw()
50 clipPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f); in onDraw()
51 clipPath.lineTo(1042.f, 724.f); in onDraw()
52 clipPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f); in onDraw()
53 clipPath.lineTo(832.f, 732.f); in onDraw()
54 clipPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f); in onDraw()
55 clipPath.lineTo(824.f, 662.f); in onDraw()
56 clipPath.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f); in onDraw()
[all …]
Dpathopsskpclip.cpp46 rec->clipPath(p, SkRegion::kIntersect_Op, true); in onDraw()
48 rec->clipPath(p, SkRegion::kIntersect_Op, true); in onDraw()
Dcircularclips.cpp64 canvas->clipPath(fCircle1, SkRegion::kReplace_Op); in onDraw()
65 canvas->clipPath(fCircle2, ops[op]); in onDraw()
Dsimpleaaclip.cpp107 canvas->clipPath(fBasePath, SkRegion::kReplace_Op, true); in drawPathsOped()
108 canvas->clipPath(fRectPath, op, true); in drawPathsOped()
/external/skia/gm/
Dskbug1719.cpp51 SkPath clipPath; in onDraw() local
52 clipPath.moveTo(832.f, 654.f); in onDraw()
53 clipPath.lineTo(1034.f, 654.f); in onDraw()
54 clipPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f); in onDraw()
55 clipPath.lineTo(1042.f, 724.f); in onDraw()
56 clipPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f); in onDraw()
57 clipPath.lineTo(832.f, 732.f); in onDraw()
58 clipPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f); in onDraw()
59 clipPath.lineTo(824.f, 662.f); in onDraw()
60 clipPath.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f); in onDraw()
[all …]
Dpathopsskpclip.cpp50 rec->clipPath(p, SkRegion::kIntersect_Op, true); in onDraw()
52 rec->clipPath(p, SkRegion::kIntersect_Op, true); in onDraw()
Dcircularclips.cpp64 canvas->clipPath(fCircle1, SkRegion::kReplace_Op); in onDraw()
65 canvas->clipPath(fCircle2, ops[op]); in onDraw()
Dsimpleaaclip.cpp107 canvas->clipPath(fBasePath, SkRegion::kReplace_Op, true); in drawPathsOped()
108 canvas->clipPath(fRectPath, op, true); in drawPathsOped()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGResourceClipper.cpp92 Path clipPath = Path(); in tryPathOnlyClipping() local
112 if (clipPath.isEmpty()) { in tryPathOnlyClipping()
114 styled->toClipPath(clipPath); in tryPathOnlyClipping()
116 clipPath.setWindRule(clipRule); in tryPathOnlyClipping()
125 if (!clipPath.unionPath(subPath)) in tryPathOnlyClipping()
136 clipPath.transform(transform); in tryPathOnlyClipping()
140 clipPath.transform(animatedLocalTransform); in tryPathOnlyClipping()
143 if (clipPath.isEmpty()) in tryPathOnlyClipping()
144 clipPath.addRect(FloatRect()); in tryPathOnlyClipping()
145 context->clipPath(clipPath, clipRule); in tryPathOnlyClipping()
DSVGRenderingContext.cpp136 ClipPathOperation* clipPathOperation = style->clipPath(); in prepareToRenderSVGContent()
138 ShapeClipPathOperation* clipPath = toShapeClipPathOperation(clipPathOperation); in prepareToRenderSVGContent() local
139 … m_paintInfo->context->clipPath(clipPath->path(object->objectBoundingBox()), clipPath->windRule()); in prepareToRenderSVGContent()
/external/chromium_org/third_party/skia/samplecode/
DSampleIdentityScale.cpp74 SkPath clipPath; in onDrawContent() local
75 clipPath.addRoundRect(r, SkIntToScalar(5), SkIntToScalar(5)); in onDrawContent()
76 canvas->clipPath(clipPath, SkRegion::kIntersect_Op, SkToBool(1)); in onDrawContent()
DSampleClip.cpp136 SkPath clipPath; in onDrawContent() local
138 clipPath.addRoundRect(r, SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
146 canvas->clipPath(clipPath, SkRegion::kIntersect_Op, SkToBool(aa)); in onDrawContent()
DSampleComplexClip.cpp109 canvas->clipPath(clipA); in onDrawContent()
110 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent()
/external/skia/experimental/PdfViewer/src/
DSkPdfDiffEncoder.cpp104 SkPath clipPath; in WriteToFile() local
105 if (clipRegion.getBoundaryPath(&clipPath)) { in WriteToFile()
109 canvas.drawPath(clipPath, redBorder); in WriteToFile()
/external/chromium_org/third_party/skia/experimental/PdfViewer/src/
DSkPdfDiffEncoder.cpp104 SkPath clipPath; in WriteToFile() local
105 if (clipRegion.getBoundaryPath(&clipPath)) { in WriteToFile()
109 canvas.drawPath(clipPath, redBorder); in WriteToFile()
/external/skia/samplecode/
DSampleClip.cpp136 SkPath clipPath; in onDrawContent() local
138 clipPath.addRoundRect(r, SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
146 canvas->clipPath(clipPath, SkRegion::kIntersect_Op, SkToBool(aa)); in onDrawContent()
/external/chromium_org/third_party/skia/src/gpu/
DGrClipMaskManager.cpp767 SkPath clipPath; in createStencilClipMask() local
772 element->asPath(&clipPath); in createStencilClipMask()
773 fillInverted = clipPath.isInverseFillType(); in createStencilClipMask()
775 clipPath.toggleInverseFillType(); in createStencilClipMask()
777 pr = this->getContext()->getPathRenderer(clipPath, in createStencilClipMask()
818 if (!clipPath.isEmpty()) { in createStencilClipMask()
821 pr->drawPath(clipPath, stroke, fGpu, false); in createStencilClipMask()
823 pr->stencilPath(clipPath, stroke, fGpu); in createStencilClipMask()
840 pr->drawPath(clipPath, stroke, fGpu, false); in createStencilClipMask()
1085 SkPath clipPath; in createSoftwareClipMask() local
[all …]
/external/skia/src/gpu/
DGrClipMaskManager.cpp766 SkPath clipPath; in createStencilClipMask() local
771 element->asPath(&clipPath); in createStencilClipMask()
772 fillInverted = clipPath.isInverseFillType(); in createStencilClipMask()
774 clipPath.toggleInverseFillType(); in createStencilClipMask()
776 pr = this->getContext()->getPathRenderer(clipPath, in createStencilClipMask()
817 if (!clipPath.isEmpty()) { in createStencilClipMask()
820 pr->drawPath(clipPath, stroke, fGpu, false); in createStencilClipMask()
822 pr->stencilPath(clipPath, stroke, fGpu); in createStencilClipMask()
839 pr->drawPath(clipPath, stroke, fGpu, false); in createStencilClipMask()
1084 SkPath clipPath; in createSoftwareClipMask() local
[all …]
/external/pdfium/fpdfsdk/include/
Dfpdf_transformpage.h100 DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath);
110 DLLEXPORT void STDCALL FPDFPage_InsertClipPath(FPDF_PAGE page,FPDF_CLIPPATH clipPath);
/external/pdfium/fpdfsdk/src/
Dfpdf_transformpage.cpp214 DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath) in FPDF_DestroyClipPath() argument
216 if(clipPath) in FPDF_DestroyClipPath()
217 delete (CPDF_ClipPath*)clipPath; in FPDF_DestroyClipPath()
257 DLLEXPORT void STDCALL FPDFPage_InsertClipPath(FPDF_PAGE page,FPDF_CLIPPATH clipPath) in FPDFPage_InsertClipPath() argument
270 CPDF_ClipPath* pClipPath = (CPDF_ClipPath*)clipPath; in FPDFPage_InsertClipPath()
/external/chromium_org/third_party/skia/src/animator/
DSkDrawClip.cpp36 maker.fCanvas->clipPath(path->fPath); in draw()
/external/skia/src/animator/
DSkDrawClip.cpp36 maker.fCanvas->clipPath(path->fPath); in draw()
/external/skia/src/core/
DSkMatrixClipStateMgr.h141 bool clipPath(SkPictureRecord* picRecord,
330 bool clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipPath() function
332 return fCurMCState->fClipInfo->clipPath(fPicRecord, path, op, doAA, in clipPath()
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFDevice.cpp311 static void emit_clip(SkPath* clipPath, SkRect* clipRect, in emit_clip() argument
313 SkASSERT(clipPath || clipRect); in emit_clip()
316 if (clipPath) { in emit_clip()
317 SkPDFUtils::EmitPath(*clipPath, SkPaint::kFill_Style, contentStream); in emit_clip()
318 clipFill = clipPath->getFillType(); in emit_clip()
342 SkPath clipPath; in calculate_inverse_path() local
343 clipPath.addRect(bounds); in calculate_inverse_path()
345 return Op(clipPath, invPath, kIntersect_PathOp, outPath); in calculate_inverse_path()
446 SkPath clipPath; in updateClip() local
447 if (get_clip_stack_path(transform, clipStack, clipRegion, &clipPath)) { in updateClip()
[all …]
/external/skia/src/pdf/
DSkPDFDevice.cpp326 static void emit_clip(SkPath* clipPath, SkRect* clipRect, in emit_clip() argument
328 SkASSERT(clipPath || clipRect); in emit_clip()
331 if (clipPath) { in emit_clip()
332 SkPDFUtils::EmitPath(*clipPath, SkPaint::kFill_Style, contentStream); in emit_clip()
333 clipFill = clipPath->getFillType(); in emit_clip()
357 SkPath clipPath; in calculate_inverse_path() local
358 clipPath.addRect(bounds); in calculate_inverse_path()
360 return Op(clipPath, invPath, kIntersect_PathOp, outPath); in calculate_inverse_path()
461 SkPath clipPath; in updateClip() local
462 if (get_clip_stack_path(transform, clipStack, clipRegion, &clipPath)) { in updateClip()
[all …]

12345