Home
last modified time | relevance | path

Searched refs:pathEffect (Results 1 - 15 of 15) sorted by relevance

/third_party/skia/src/gpu/
H A DGrStyle.h119 SkPathEffect* pathEffect() const { return fPathEffect.get(); } in pathEffect() function in GrStyle
144 return this->pathEffect() || (!fStrokeRec.isFillStyle() && !fStrokeRec.isHairlineStyle()); in applies()
175 auto pe = as_PEB(this->pathEffect()); in adjustBounds()
H A DGrStyle.cpp17 } else if (style.pathEffect()) { in KeySize()
60 SkASSERT(!style.pathEffect()); in WriteKey()
79 if (!(flags & kClosed_KeyFlag) || style.pathEffect()) { in WriteKey()
H A DGrUtil.cpp68 if (style.pathEffect()) { in GrIsStrokeHairlineOrEquivalent()
/third_party/skia/src/gpu/ops/
H A DAALinearizingConvexPathRenderer.cpp352 if (args.fShape->style().pathEffect()) { in onCanDrawPath()
397 SkASSERT(!args.fShape->style().pathEffect()); in onDrawPath()
H A DAAHairLinePathRenderer.cpp1305 if (args.fShape->style().pathEffect()) { in onCanDrawPath()
H A DGrOvalOpFactory.cpp3381 if (style.pathEffect()) {
/third_party/skia/gm/
H A Dpatheffects.cpp376 sk_sp<SkPathEffect> pathEffect(new StrokeLineInflated(strokeWidth, pxInflate));
386 paint.setPathEffect(pathEffect);
/third_party/skia/modules/skparagraph/src/
H A DDecorations.cpp149 auto pathEffect = RSDrawing::PathEffect::CreateComposePathEffect(*pathEffect1.get(), *pathEffect2.get()); in ConvertDecorStyle() local
150 paint.SetPathEffect(pathEffect); in ConvertDecorStyle()
/third_party/skia/src/gpu/geometry/
H A DGrStyledShape.cpp337 (GrStyle::Apply::kPathEffectOnly == apply && !parent.style().pathEffect())) { in GrStyledShape()
342 SkPathEffect* pe = parent.fStyle.pathEffect(); in GrStyledShape()
410 SkASSERT(!parent.fStyle.pathEffect()); in GrStyledShape()
/third_party/skia/include/core/
H A DSkPaint.h537 /** Sets SkPathEffect to pathEffect, decreasing SkRefCnt of the previous
540 Increments pathEffect SkRefCnt by one.
542 @param pathEffect replace SkPath with a modification when drawn
547 void setPathEffect(sk_sp<SkPathEffect> pathEffect);
/third_party/skia/tests/
H A DSVGDeviceTest.cpp543 sk_sp<SkPathEffect> pathEffect = SkDashPathEffect::Make(intervals, 2, 0); in DEF_TEST() local
544 paint.setPathEffect(pathEffect); in DEF_TEST()
H A DGrStyledShapeTest.cpp1831 REPORTER_ASSERT(r, !fillCase.style().pathEffect()); in test_rrect()
1832 REPORTER_ASSERT(r, !strokeAndFillCase.style().pathEffect()); in test_rrect()
1855 REPORTER_ASSERT(r, strokeCase.style().pathEffect()); in test_rrect()
1856 REPORTER_ASSERT(r, hairlineCase.style().pathEffect()); in test_rrect()
1883 REPORTER_ASSERT(r, !strokeCase.style().pathEffect()); in test_rrect()
1884 REPORTER_ASSERT(r, !hairlineCase.style().pathEffect()); in test_rrect()
/third_party/skia/src/gpu/v1/
H A DSurfaceDrawContext.cpp746 SkASSERT(!style->pathEffect()); in drawRect()
1038 SkASSERT(!style.pathEffect()); // this should've been devolved to a path in SkGpuDevice in drawRRect()
1376 if (oval.isEmpty() && !style.pathEffect()) { in drawOval()
1855 if (!pr && shape.style().pathEffect()) { in drawShapeUsingPathRenderer()
H A DDevice.cpp481 if (mf || style.pathEffect()) { in drawRRect()
490 SkASSERT(!style.pathEffect()); in drawRRect()
/third_party/skia/tools/debugger/
H A DDrawCommand.cpp92 #define DEBUGCANVAS_ATTRIBUTE_PATHEFFECT "pathEffect"
849 SkPathEffect* pathEffect = paint.getPathEffect(); in apply_paint_patheffect() local
850 if (pathEffect != nullptr) { in apply_paint_patheffect()
852 SkPathEffect::DashType dashType = pathEffect->asADash(&dashInfo); in apply_paint_patheffect()
855 pathEffect->asADash(&dashInfo); in apply_paint_patheffect()
867 DrawCommand::flatten(pathEffect, writer, urlDataManager); in apply_paint_patheffect()
868 writer.endObject(); // pathEffect in apply_paint_patheffect()

Completed in 28 milliseconds