Home
last modified time | relevance | path

Searched refs:getCap (Results 1 - 19 of 19) sorted by relevance

/third_party/skia/src/effects/
H A DSkDashPathEffect.cpp192 if (SkPaint::kButt_Cap != rec.getCap()) { in onAsPoints()
224 } else if (SkPaint::kRound_Cap != rec.getCap()) { in onAsPoints()
233 if (SkPaint::kRound_Cap == rec.getCap()) { in onAsPoints()
287 SkASSERT(SkPaint::kRound_Cap != rec.getCap()); // can't handle partial circles in onAsPoints()
336 SkASSERT(SkPaint::kRound_Cap != rec.getCap()); // can't handle partial circles in onAsPoints()
/third_party/skia/src/gpu/geometry/
H A DGrStyledShape.cpp591 if (!fShape.isArc() || fStyle.strokeRec().getCap() == SkPaint::kButt_Cap) { in simplify()
727 if (cap != fStyle.strokeRec().getCap() || in simplifyStroke()
739 if (fStyle.strokeRec().getCap() == SkPaint::kButt_Cap) { in simplifyStroke()
746 if (fStyle.strokeRec().getCap() == SkPaint::kRound_Cap) { in simplifyStroke()
762 outset.fX = SkPaint::kButt_Cap == fStyle.strokeRec().getCap() ? 0.f : outset.fY; in simplifyStroke()
768 outset.fY = SkPaint::kButt_Cap == fStyle.strokeRec().getCap() ? 0.f : outset.fX; in simplifyStroke()
778 } else if (fStyle.strokeRec().getCap() == SkPaint::kRound_Cap) { in simplifyStroke()
/third_party/skia/src/core/
H A DSkStroke.h35 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } in getCap() function in SkStroke
H A DSkStroke.cpp1451 SkPathStroker stroker(src, radius, fMiterLimit, this->getCap(), this->getJoin(),
1480 if (SkPaint::kButt_Cap != this->getCap()) {
/third_party/skia/src/gpu/tessellate/
H A DStrokeIterator.h179 switch (fStroke->getCap()) { in finishOpenContour()
212 switch (fStroke->getCap()) { in finishOpenContour()
H A DStrokeHardwareTessellator.cpp302 switch (stroke.getCap()) { in writeCaps()
/third_party/skia/include/core/
H A DSkStrokeRec.h39 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } in getCap() function in SkStrokeRec
/third_party/skia/src/gpu/
H A DGrStyle.cpp80 cap = style.strokeRec().getCap(); in WriteKey()
H A DGrBlurUtils.cpp361 ? ((shape.style().strokeRec().getCap() << 1) | 1) in compute_key_and_clip_bounds()
/third_party/skia/src/gpu/ops/
H A DStrokeTessellateOp.cpp63 stroke.getCap(), 1); in StrokeTessellateOp()
H A DTessellationPathRenderer.cpp136 stroke.getCap(), 1); in onDrawPath()
H A DSoftwarePathRenderer.cpp316 ((args.fShape->style().strokeRec().getCap() << 1) | 1) : 0; in onDrawPath()
H A DDashOp.cpp1160 SkPaint::Cap cap = style.strokeRec().getCap();
1230 SkPaint::Cap cap = style.strokeRec().getCap();
H A DGrOvalOpFactory.cpp1044 if (arcParams->fUseCenter || stroke.getCap() == SkPaint::kSquare_Cap) {
1051 if (arcParams->fUseCenter || stroke.getCap() != SkPaint::kButt_Cap) {
1137 style.strokeRec().getCap() == SkPaint::kRound_Cap;
3348 if (style.strokeRec().getCap() != SkPaint::kButt_Cap ||
H A DAAHairLinePathRenderer.cpp769 SkScalar capLength = SkPaint::kButt_Cap != stroke.getCap() ? hairlineCoverage * 0.5f : 0.0f; in Make()
/third_party/skia/src/utils/
H A DSkDashPath.cpp229 if (SkPaint::kButt_Cap != rec->getCap()) {
/third_party/skia/experimental/graphite/src/
H A DDevice.cpp300 StrokeParams stroke(style.getWidth(), style.getMiter(), style.getJoin(), style.getCap()); in drawShape()
/third_party/skia/src/gpu/v1/
H A DSurfaceDrawContext.cpp1686 SkASSERT(SkPaint::kRound_Cap != stroke.getCap()); in drawStrokedLine()
1707 if (SkPaint::kButt_Cap == stroke.getCap()) { in drawStrokedLine()
1734 shape.style().strokeRec().getCap() != SkPaint::kRound_Cap) { in drawSimpleShape()
/third_party/skia/tests/
H A DGrStyledShapeTest.cpp2345 if (style.strokeRec().getWidth() >= 0 && style.strokeRec().getCap() != SkPaint::kButt_Cap) { in DEF_TEST()

Completed in 29 milliseconds