Home
last modified time | relevance | path

Searched refs:kButt_Cap (Results 1 – 25 of 32) sorted by relevance

12

/external/skia/tests/
DStrokeTest.cpp110 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
111 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
120 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
121 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.1f); in test_strokerec_equality()
123 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kBevel_Join, 2.9f); in test_strokerec_equality()
136 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
137 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
149 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.1f); in test_strokerec_equality()
151 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kBevel_Join, 2.9f); in test_strokerec_equality()
DEmptyPathTest.cpp65 SkPaint::kButt_Cap, in iter_paint()
82 if (drawCaps && SkPaint::kButt_Cap != gCaps[cap] in iter_paint()
DPaintTest.cpp224 SkPaint::kButt_Cap, in DEF_TEST()
/external/skia/src/core/
DSkScan_Hairline.cpp475 const int capOut = SkPaint::kButt_Cap == capStyle ? 1 : 2; in hair_path()
525 if (SkPaint::kButt_Cap != capStyle) { in hair_path()
534 if (SkPaint::kButt_Cap != capStyle) { in hair_path()
541 if (SkPaint::kButt_Cap != capStyle) { in hair_path()
548 if (SkPaint::kButt_Cap != capStyle) { in hair_path()
564 if (SkPaint::kButt_Cap != capStyle) { in hair_path()
573 if (SkPaint::kButt_Cap != capStyle && prevVerb == SkPath::kMove_Verb) { in hair_path()
582 if (SkPaint::kButt_Cap != capStyle) { in hair_path()
589 hair_path<SkPaint::kButt_Cap>(path, clip, blitter, SkScan::HairLineRgn); in HairPath()
593 hair_path<SkPaint::kButt_Cap>(path, clip, blitter, SkScan::AntiHairLineRgn); in AntiHairPath()
DSkStroke.cpp254 if (SkStrokerPriv::CapFactory(SkPaint::kButt_Cap) == fCapper) { in preJoinTo()
409 if (SkStrokerPriv::CapFactory(SkPaint::kButt_Cap) == fCapper in lineTo()
1401 if (SkPaint::kButt_Cap != this->getCap()) { in strokePath()
/external/skia/bench/
DBezierBench.cpp96 DEF_BENCH( return new BezierBench(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2, draw_quad); )
100 DEF_BENCH( return new BezierBench(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2, draw_cubic); )
/external/skia/gm/
Dsmallpaths.cpp236 paint.setStrokeCap(SkPaint::kButt_Cap); in onDraw()
249 paint.setStrokeCap(SkPaint::kButt_Cap); in onDraw()
261 paint.setStrokeCap(SkPaint::kButt_Cap); in onDraw()
Dquadpaths.cpp71 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in onDraw()
214 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in onDraw()
Dnonclosedpaths.cpp82 SkPaint::kButt_Cap, SkPaint::kRound_Cap, SkPaint::kSquare_Cap in onDraw()
Dlinepaths.cpp57 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in draw()
Dcubicpaths.cpp182 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in onDraw()
326 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in onDraw()
Dhairlines.cpp246 const SkPaint::Cap caps[] = { SkPaint::kButt_Cap, SkPaint::kSquare_Cap, SkPaint::kRound_Cap };
Ddegeneratesegments.cpp283 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in onDraw()
Dstrokes.cpp482 p.setStrokeCap(SkPaint::kButt_Cap); in onDraw()
/external/skia/src/gpu/gl/
DGrGLPathRange.cpp41 (fStroke.needToApply() && fStroke.getCap() != SkPaint::kButt_Cap); in init()
DGrGLPath.cpp76 GR_STATIC_ASSERT(0 == SkPaint::kButt_Cap); in cap_to_gl_cap()
288 if (stroke->needToApply() && stroke->getCap() != SkPaint::kButt_Cap) { in GrGLPath()
/external/skia/include/core/
DSkPaint.h409 kButt_Cap, //!< begin/end contours with no extension enumerator
414 kDefault_Cap = kButt_Cap
/external/skia/src/pdf/
DSkPDFGraphicState.cpp200 static_assert(SkPaint::kButt_Cap == 0, "paint_cap_mismatch"); in emitObject()
/external/skia/src/c/
Dsk_paint.cpp19 { BUTT_SK_STROKE_CAP, SkPaint::kButt_Cap },
/external/skia/samplecode/
DSampleFuzz.cpp172 case 1: paint.setStrokeCap(SkPaint::kButt_Cap); break; in do_fuzz()
DSampleFatBits.cpp50 fStrokeCap = SkPaint::kButt_Cap; in FatBits()
443 SkPaint::kButt_Cap, SkPaint::kRound_Cap, SkPaint::kSquare_Cap, in onQuery()
DSampleStrokePath.cpp33 paint.setStrokeCap(SkPaint::kButt_Cap); in test_huge_stroke()
DSamplePathFuzz.cpp287 SkPaint::Cap cap = (SkPaint::Cap) fRand.nextRangeU(SkPaint::kButt_Cap, SkPaint::kSquare_Cap); in makePaint()
/external/skia/src/utils/
DSkDashPath.cpp162 if (SkPaint::kButt_Cap != rec->getCap()) { in init()
/external/skia/src/effects/
DSkDashPathEffect.cpp188 if (SkPaint::kButt_Cap != rec.getCap()) { in asPoints()

12