Home
last modified time | relevance | path

Searched refs:pathEffect (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/gpu/
DGrBlurUtils.cpp155 const SkPathEffect* pathEffect, in draw_path_with_mask_filter() argument
168 SkASSERT(strokeInfo.isDashed() || !pathEffect); in draw_path_with_mask_filter()
173 if (pathEffect->filterPath(strokedPath, *pathPtr, &strokeInfo, cullRect)) { in draw_path_with_mask_filter()
258 const SkPathEffect* pathEffect, in drawPathWithMaskFilter() argument
266 if (!strokeInfo.isDashed() && pathEffect && pathEffect->filterPath(tmpPath.init(), *pathPtr, in drawPathWithMaskFilter()
271 pathEffect = nullptr; in drawPathWithMaskFilter()
274 draw_path_with_mask_filter(context, drawContext, clip, paint, viewMatrix, mf, pathEffect, in drawPathWithMaskFilter()
300 SkPathEffect* pathEffect = paint.getPathEffect(); in drawPathWithMaskFilter() local
307 if (!paint.getMaskFilter() && !pathEffect && !paint.getShader() && in drawPathWithMaskFilter()
329 if (!strokeInfo.isDashed() && pathEffect && in drawPathWithMaskFilter()
[all …]
/external/skia/src/animator/
DSkDrawPaint.cpp45 SK_MEMBER(pathEffect, PathEffect),
68 linearText(-1), maskFilter((SkDrawMaskFilter*) -1), pathEffect((SkDrawPathEffect*) -1), in SkDrawPaint()
84 delete pathEffect; in ~SkDrawPaint()
129 if (pathEffect != (SkDrawPathEffect*) -1) { in dump()
134 pathEffect->dump(maker); in dump()
204 if (fOwnsPathEffect && maker.resolveID(pathEffect, original->pathEffect) == false) in resolveIDs()
233 if (pathEffect == nullptr) in setupPaint()
235 else if (pathEffect != (SkDrawPathEffect*) -1) in setupPaint()
236 SkSafeUnref(paint->setPathEffect(pathEffect->getPathEffect())); in setupPaint()
DSkPaintPart.cpp48 if (fPaint->pathEffect != (SkDrawPathEffect*) -1) in add()
50 fPaint->pathEffect = this; in add()
DSkDrawPaint.h51 SkDrawPathEffect* pathEffect; variable
DSkAnimateSchema.xsd1322 effect when referenced from a paint.. A <pathEffect/>
1943 <!-- @element pathEffect PathEffect cancels a discrete or dash. -->
1944 <xs:element ref="Sk:pathEffect"/>
1972 <!-- @attribute pathEffect PathEffect specifies a discrete or dash with this ID. -->
1973 <xs:attribute name="pathEffect" type="Sk:PathEffect"/>
2054 <!-- /** pathEffect
2057 <xs:element name="pathEffect">
/external/skia/samplecode/
DSampleFilterFuzz.cpp427 SkPathEffect* pathEffect = nullptr; in make_path_effect() local
428 if (canBeNull && (R(3) == 1)) { return pathEffect; } in make_path_effect()
432 pathEffect = SkArcToPathEffect::Create(make_scalar(true)); in make_path_effect()
437 pathEffect = SkComposePathEffect::Create(outer, inner); in make_path_effect()
441 pathEffect = SkCornerPathEffect::Create(make_scalar()); in make_path_effect()
449 pathEffect = SkDashPathEffect::Create(intervals, count, make_scalar()); in make_path_effect()
453 pathEffect = SkDiscretePathEffect::Create(make_scalar(), make_scalar()); in make_path_effect()
456 pathEffect = SkPath1DPathEffect::Create(make_path(), in make_path_effect()
462 pathEffect = SkLine2DPathEffect::Create(make_scalar(), make_matrix()); in make_path_effect()
465 pathEffect = SkPath2DPathEffect::Create(make_matrix(), make_path()); in make_path_effect()
[all …]
/external/skia/site/user/api/
Dskpaint.md541 SkAutoTUnref<SkPathEffect> pathEffect(
544 paint.setPathEffect(pathEffect);
692 * SkComposePathEffect: a pathEffect whose effect is to apply
693 first the inner pathEffect and the the outer pathEffect (i.e.
719 * SkSumPathEffect: a pathEffect whose effect is to apply two effects,
/external/skia/tools/json/
DSkJSONCanvas.cpp364 SkPathEffect* pathEffect = paint.getPathEffect(); in apply_paint_patheffect() local
365 if (pathEffect != nullptr) { in apply_paint_patheffect()
367 SkPathEffect::DashType dashType = pathEffect->asADash(&dashInfo); in apply_paint_patheffect()
370 pathEffect->asADash(&dashInfo); in apply_paint_patheffect()
383 flatten(pathEffect, &jsonPathEffect, sendBinaries); in apply_paint_patheffect()
DSkJSONRenderer.cpp295 SkPathEffect* pathEffect = (SkPathEffect*) load_flattenable(jsonPathEffect); in apply_paint_patheffect() local
296 if (pathEffect != nullptr) { in apply_paint_patheffect()
297 target->setPathEffect(pathEffect); in apply_paint_patheffect()
298 pathEffect->unref(); in apply_paint_patheffect()
/external/skia/tools/debugger/
DSkDrawCommand.cpp976 SkPathEffect* pathEffect = paint.getPathEffect(); in apply_paint_patheffect() local
977 if (pathEffect != nullptr) { in apply_paint_patheffect()
979 SkPathEffect::DashType dashType = pathEffect->asADash(&dashInfo); in apply_paint_patheffect()
982 pathEffect->asADash(&dashInfo); in apply_paint_patheffect()
994 flatten(pathEffect, &jsonPathEffect, urlDataManager); in apply_paint_patheffect()
1143 SkPathEffect* pathEffect = (SkPathEffect*) load_flattenable(jsonPathEffect, urlDataManager); in extract_json_paint_patheffect() local
1144 if (pathEffect != nullptr) { in extract_json_paint_patheffect()
1145 target->setPathEffect(pathEffect); in extract_json_paint_patheffect()
1146 pathEffect->unref(); in extract_json_paint_patheffect()
/external/skia/src/core/
DSkPaint.cpp2153 SkPathEffect* pathEffect = this->getPathEffect(); in toString() local
2154 if (pathEffect) { in toString()
2156 pathEffect->toString(str); in toString()