Home
last modified time | relevance | path

Searched refs:getStrokeCap (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/docs/examples/
DPaintDump.cpp51 if (d.getStrokeCap() != p.getStrokeCap()) { in PaintStringDump()
52 s.appendf("p.setStrokeCap(%s);\n", str(p.getStrokeCap())); in PaintStringDump()
DPaint_getStrokeCap.cpp9 SkPaint::kButt_Cap == paint.getStrokeCap() ? '=' : '!'); in draw()
DPaint_setStrokeCap_a.cpp11 SkPaint::kRound_Cap == paint.getStrokeCap() ? '=' : '!'); in draw()
/third_party/skia/src/core/
DSkStrokeRec.cpp63 fCap = paint.getStrokeCap(); in init()
144 return GetInflationRadius(paint.getStrokeJoin(), paint.getStrokeMiter(), paint.getStrokeCap(), in GetInflationRadius()
DSkPictureCommon.h41 if (2 == op.count && SkPaint::kRound_Cap != op.paint.getStrokeCap() && in operator()
DSkDraw.cpp257 } else if (paint.getStrokeCap() != SkPaint::kRound_Cap && in init()
308 } else if (fPaint->getStrokeCap() != SkPaint::kRound_Cap) { in chooseProc()
399 if (newPaint.getStrokeCap() == SkPaint::kRound_Cap) { in drawPoints()
839 switch (paint.getStrokeCap()) { in drawDevPath()
854 switch (paint.getStrokeCap()) { in drawDevPath()
DSkPaint.cpp259 packed |= shift_bits(paint.getStrokeCap(), 16, 2); in pack_v68()
DSkStroke.cpp1357 fCap = (uint8_t)p.getStrokeCap(); in SkStroke()
1366 fCap = (uint8_t)p.getStrokeCap(); in SkStroke()
DSkScalerContext.cpp1057 rec->fStrokeCap = SkToU8(paint.getStrokeCap()); in MakeRecAndEffects()
/third_party/skia/bench/
DStrokeBench.cpp20 pathType, paint.getStrokeWidth(), paint.getStrokeJoin(), paint.getStrokeCap()); in StrokeBench()
/third_party/skia/src/pdf/
DSkPDFGraphicState.cpp79 SkToU8(p.getStrokeCap()), in GetGraphicStateForPaint()
DSkPDFDevice.cpp421 if (mode == SkCanvas::kPoints_PointMode && paint->getStrokeCap() != SkPaint::kRound_Cap) { in drawPoints()
435 if (paint->getStrokeCap() != SkPaint::kRound_Cap) { in drawPoints()
462 SkASSERT(paint->getStrokeCap() == SkPaint::kRound_Cap); in drawPoints()
621 (paint->getStrokeCap() != SkPaint::kRound_Cap && in internalDrawPath()
622 paint->getStrokeCap() != SkPaint::kSquare_Cap); in internalDrawPath()
/third_party/skia/tests/
DEmptyPathTest.cpp51 paint.getStrokeCap(), paint.getStrokeJoin(), in drawAndTest()
/third_party/skia/src/c/
Dsk_paint.cpp102 if (find_c(AsPaint(*cpaint).getStrokeCap(), &ccap)) { in sk_paint_get_stroke_cap()
/third_party/skia/include/core/
DSkPaint.h364 Cap getStrokeCap() const { return (Cap)fBitfields.fCapType; } in getStrokeCap() function
/third_party/skia/modules/skparagraph/src/
DDecorations.cpp12 SkASSERT(decorStyle.skPaint().getStrokeCap() == SkPaint::kButt_Cap); in draw_line_as_rect()
/third_party/skia/src/effects/
DSkLayerDrawLooper.cpp103 dst->setStrokeCap(src.getStrokeCap()); in ApplyInfo()
/third_party/skia/experimental/graphite/src/
DDevice.cpp197 if (paint.getStrokeCap() == SkPaint::kRound_Cap) { in drawPoints()
/third_party/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js314 switch (this._paint.getStrokeCap()) {
768 'cap': this._paint.getStrokeCap(), 'join': this._paint.getStrokeJoin(),
/third_party/skia/samplecode/
DSampleSimpleStroker.cpp128 fCap = paint.getStrokeCap(); in initForPath()
DSampleVariableWidthStroker.cpp514 fCap = paint.getStrokeCap(); in initForPath()
/third_party/skia/modules/canvaskit/
Dexterns.js474 getStrokeCap: function() {}, method
/third_party/skia/src/svg/
DSkSVGDevice.cpp361 if (const char* cap = svg_cap(paint.getStrokeCap())) { in addPaint()
/third_party/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts393 const sc = paint.getStrokeCap();
/third_party/skia/tools/viewer/
DViewer.cpp1443 paint.setStrokeCap(fPaint->getStrokeCap()); in onFilter()
2188 capIdx = SkTo<int>(fPaint.getStrokeCap()) + 1; in drawImGui()

12