Home
last modified time | relevance | path

Searched refs:fStroke (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/src/gpu/tessellate/
DStrokeIterator.h35 : fViewMatrix(viewMatrix), fStroke(stroke) { in StrokeIterator()
179 switch (fStroke->getCap()) { in finishOpenContour()
212 switch (fStroke->getCap()) { in finishOpenContour()
227 if (!fStroke->isHairlineStyle()) { in finishOpenContour()
229 outset = {fStroke->getWidth() * .5f, 0}; in finishOpenContour()
310 if (!fStroke->isHairlineStyle()) { in fillSquareCapPoints()
312 lastTangent *= (.5f * fStroke->getWidth()) / lastTangent.length(); in fillSquareCapPoints()
332 if (!fStroke->isHairlineStyle()) { in fillSquareCapPoints()
334 firstTangent *= (-.5f * fStroke->getWidth()) / firstTangent.length(); in fillSquareCapPoints()
345 const SkStrokeRec* const fStroke; variable
DStrokeTessellator.h26 : fPath(path), fStroke(stroke), fColor(color) {} in PathStrokeList()
28 SkStrokeRec fStroke; member
132 SkASSERT(!head->fStroke.isHairlineStyle()); in fetchRadialSegmentsPerRadian()
138 fStrokeWidths[i++] = peekAhead->fStroke.getWidth(); in fetchRadialSegmentsPerRadian()
146 SkASSERT(fStrokeWidths[fBufferIdx] == head->fStroke.getWidth()); in fetchRadialSegmentsPerRadian()
DStrokeFixedCountTessellator.cpp263 const SkStrokeRec& stroke = pathStrokeList->fStroke; in prepare()
277 const SkStrokeRec& stroke = pathStroke->fStroke; in prepare()
292 StrokeIterator strokeIter(pathStroke->fPath, &pathStroke->fStroke, &shaderMatrix); in prepare()
DStrokeHardwareTessellator.cpp720 const SkStrokeRec& stroke = pathStrokeList->fStroke; in prepare()
733 const SkStrokeRec& stroke = pathStroke->fStroke; in prepare()
/third_party/skia/samplecode/
DSamplePathOverstroke.cpp20 SkScalar fStroke; member in OverstrokeView
26 fStroke = 5; in OverstrokeView()
40 fStroke += 1.0; in onChar()
43 fStroke -= 1.0; in onChar()
156 p.setStrokeWidth(fStroke); in onDrawContent()
DSamplePath.cpp77 SkScalar fDStroke, fStroke, fMinStroke, fMaxStroke; member in PathView
99 fStroke = 10; in init()
141 paint.setStrokeWidth(fStroke); in drawPath()
185 fStroke += fDStroke * delta; in onAnimate()
186 if (fStroke > fMaxStroke || fStroke < fMinStroke) { in onAnimate()
/third_party/flutter/skia/samplecode/
DSamplePathOverstroke.cpp20 SkScalar fStroke; member in OverstrokeView
26 fStroke = 5; in OverstrokeView()
40 fStroke += 1.0; in onChar()
43 fStroke -= 1.0; in onChar()
156 p.setStrokeWidth(fStroke); in onDrawContent()
DSamplePath.cpp77 SkScalar fDStroke, fStroke, fMinStroke, fMaxStroke; member in PathView
99 fStroke = 10; in init()
141 paint.setStrokeWidth(fStroke); in drawPath()
185 fStroke += fDStroke * delta; in onAnimate()
186 if (fStroke > fMaxStroke || fStroke < fMinStroke) { in onAnimate()
/third_party/flutter/skia/bench/
DRectBench.cpp22 int fShift, fStroke; member in RectBench
35 , fStroke(stroke) in RectBench()
41 if (fStroke > 0) { in computeName()
42 fBaseName.appendf("_stroke_%d", fStroke); in computeName()
84 if (fStroke > 0) { in onDraw()
86 paint.setStrokeWidth(SkIntToScalar(fStroke)); in onDraw()
/third_party/skia/bench/
DRectBench.cpp22 int fShift, fStroke; member in RectBench
35 , fStroke(stroke) in RectBench()
41 if (fStroke > 0) { in computeName()
42 fBaseName.appendf("_stroke_%d", fStroke); in computeName()
84 if (fStroke > 0) { in onDraw()
86 paint.setStrokeWidth(SkIntToScalar(fStroke)); in onDraw()
/third_party/skia/src/gpu/tessellate/shaders/
DGrStrokeTessellationShader.cpp29 , fStroke(stroke) in GrStrokeTessellationShader()
405 SkASSERT(fStroke.getJoin() >> 2 == 0); in addToKey()
410 key = (key << 2) | ((keyNeedsJoin) ? fStroke.getJoin() : 0); in addToKey()
411 key = (key << 1) | (uint32_t)fStroke.isHairlineStyle(); in addToKey()
DGrStrokeTessellationShader.h45 const SkStrokeRec& stroke() const { return fStroke;} in stroke()
72 const SkStrokeRec fStroke; variable
/third_party/flutter/skia/experimental/svg/model/
DSkSVGAttribute.cpp18 result.fStroke.set(SkSVGPaint(SkSVGPaint::Type::kNone)); in MakeInitial()
DSkSVGAttribute.h72 SkTLazy<SkSVGPaint> fStroke; member
DSkSVGRenderContext.cpp149 applySvgPaint(ctx, *attrs.fStroke.get(), &pctx->fStrokePaint); in commitToPaint()
434 const SkSVGPaint::Type paintType = fPresentationContext->fInherited.fStroke.get()->type(); in strokePaint()
DSkSVGNode.cpp90 fPresentationAttributes.fStroke.set(svgPaint); in setStroke()
/third_party/skia/src/gpu/ops/
DStrokeTessellateOp.h31 SkStrokeRec& headStroke() { return fPathStrokeList.fStroke; } in headStroke()
DGrOvalOpFactory.cpp81 b->addBool(fStroke, "stroked" ); in addToKey()
100 , fStroke(stroke) { in CircleGeometryProcessor()
193 if (cgp.fStroke) { in onEmitCode()
247 bool fStroke; member in CircleGeometryProcessor
539 b->addBool(fStroke, "stroked"); in addToKey()
554 , fStroke(stroke) in EllipseGeometryProcessor()
624 if (egp.fStroke) { in onEmitCode()
651 if (egp.fStroke) { in onEmitCode()
689 bool fStroke; member in EllipseGeometryProcessor
/third_party/skia/modules/svg/src/
DSkSVGAttribute.cpp18 result.fStroke.set(SkSVGPaint(SkSVGPaint::Type::kNone)); in MakeInitial()
DSkSVGRenderContext.cpp276 hasStroke = props.fStroke->type() != SkSVGPaint::Type::kNone; in applyOpacity()
446 auto p = this->commonPaint(*props.fStroke, *props.fStrokeOpacity); in strokePaint()
/third_party/skia/modules/svg/include/
DSkSVGAttribute.h79 SkSVGProperty<SkSVGPaint , true> fStroke; member
/third_party/flutter/skia/src/gpu/ops/
DGrOvalOpFactory.cpp70 , fStroke(stroke) { in CircleGeometryProcessor()
163 if (cgp.fStroke) { in onEmitCode()
207 key = cgp.fStroke ? 0x01 : 0x0; in GenKey()
237 bool fStroke; member in CircleGeometryProcessor
514 , fStroke(stroke) in EllipseGeometryProcessor()
590 if (egp.fStroke) { in onEmitCode()
617 if (egp.fStroke) { in onEmitCode()
647 uint16_t key = egp.fStroke ? 0x1 : 0x0; in GenKey()
668 bool fStroke; member in EllipseGeometryProcessor