Home
last modified time | relevance | path

Searched refs:miterLimit (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/docs/examples/
DMiter_Limit.cpp12 SkScalar miterLimit = 1 / SkScalarSin((angle2 - angle1) / 2); in draw() local
13 SkScalar miterLength = strokeWidth * miterLimit; in draw()
21 paint.setStrokeMiter(miterLimit); in draw()
28 miterLimit *= 0.99f; in draw()
29 paint.setStrokeMiter(miterLimit); in draw()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/content/
DGradientStroke.java27 private final float miterLimit; field in GradientStroke
36 ShapeStroke.LineJoinType joinType, float miterLimit, in GradientStroke() argument
48 this.miterLimit = miterLimit; in GradientStroke()
99 return miterLimit; in getMiterLimit()
DShapeStroke.java61 private final float miterLimit; field in ShapeStroke
67 LineJoinType joinType, float miterLimit, boolean hidden) { in ShapeStroke() argument
76 this.miterLimit = miterLimit; in ShapeStroke()
117 return miterLimit; in getMiterLimit()
/external/skqp/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp130 SkScalar miterLimit, in Make() argument
134 strokeWidth, style, join, miterLimit, in Make()
145 SkScalar miterLimit, in AAFlatteningConvexPathOp() argument
149 PathData{color, viewMatrix, path, strokeWidth, style, join, miterLimit}); in AAFlatteningConvexPathOp()
158 w *= miterLimit; in AAFlatteningConvexPathOp()
346 SkScalar miterLimit = stroke.getMiter(); in onDrawPath() local
350 stroke.getStyle(), join, miterLimit, args.fUserStencilSettings); in onDrawPath()
371 SkScalar miterLimit = 0.5f; in GR_DRAW_OP_TEST_DEFINE() local
380 miterLimit = random->nextRangeF(0.5f, 2.0f); in GR_DRAW_OP_TEST_DEFINE()
384 style, join, miterLimit, stencilSettings); in GR_DRAW_OP_TEST_DEFINE()
DGrAAConvexTessellator.h38 SkScalar miterLimit = 0.0f)
43 , fMiterLimit(miterLimit) { in fSide()
/external/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp143 SkScalar miterLimit, in Make() argument
147 strokeWidth, style, join, miterLimit, in Make()
158 SkScalar miterLimit, in AAFlatteningConvexPathOp() argument
162 PathData{viewMatrix, path, color, strokeWidth, miterLimit, style, join}); in AAFlatteningConvexPathOp()
173 w *= miterLimit; in AAFlatteningConvexPathOp()
403 SkScalar miterLimit = stroke.getMiter(); in onDrawPath() local
407 stroke.getStyle(), join, miterLimit, args.fUserStencilSettings); in onDrawPath()
428 SkScalar miterLimit = 0.5f; in GR_DRAW_OP_TEST_DEFINE() local
437 miterLimit = random->nextRangeF(0.5f, 2.0f); in GR_DRAW_OP_TEST_DEFINE()
441 style, join, miterLimit, stencilSettings); in GR_DRAW_OP_TEST_DEFINE()
DGrAAConvexTessellator.h38 SkScalar miterLimit = 0.0f)
43 , fMiterLimit(miterLimit) { in fSide()
/external/skia/include/core/
DSkStrokeRec.h60 void setStrokeParams(SkPaint::Cap cap, SkPaint::Join join, SkScalar miterLimit) { in setStrokeParams() argument
63 fMiterLimit = miterLimit; in setStrokeParams()
117 static SkScalar GetInflationRadius(SkPaint::Join, SkScalar miterLimit, SkPaint::Cap,
/external/skqp/include/core/
DSkStrokeRec.h60 void setStrokeParams(SkPaint::Cap cap, SkPaint::Join join, SkScalar miterLimit) { in setStrokeParams() argument
63 fMiterLimit = miterLimit; in setStrokeParams()
117 static SkScalar GetInflationRadius(SkPaint::Join, SkScalar miterLimit, SkPaint::Cap,
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DShapeStrokeParser.java45 float miterLimit = 0f; in parse() local
71 miterLimit = (float) reader.nextDouble(); in parse()
122 … name, offset, lineDashPattern, color, opacity, width, capType, joinType, miterLimit, hidden); in parse()
DGradientStrokeParser.java56 float miterLimit = 0f; in parse() local
107 miterLimit = (float) reader.nextDouble(); in parse()
154 miterLimit, lineDashPattern, offset, hidden); in parse()
/external/skia/src/core/
DSkStrokeRec.cpp149 SkScalar SkStrokeRec::GetInflationRadius(SkPaint::Join join, SkScalar miterLimit, SkPaint::Cap cap, in GetInflationRadius() argument
163 multiplier = std::max(multiplier, miterLimit); in GetInflationRadius()
DSkStroke.cpp162 SkScalar radius, SkScalar miterLimit, SkPaint::Cap,
378 SkScalar radius, SkScalar miterLimit, in SkPathStroker() argument
391 if (miterLimit <= SK_Scalar1) { in SkPathStroker()
394 fInvMiterLimit = SkScalarInvert(miterLimit); in SkPathStroker()
1376 void SkStroke::setMiterLimit(SkScalar miterLimit) { in setMiterLimit() argument
1377 SkASSERT(miterLimit >= 0); in setMiterLimit()
1378 fMiterLimit = miterLimit; in setMiterLimit()
/external/skqp/src/core/
DSkStrokeRec.cpp149 SkScalar SkStrokeRec::GetInflationRadius(SkPaint::Join join, SkScalar miterLimit, SkPaint::Cap cap, in GetInflationRadius() argument
163 multiplier = SkTMax(multiplier, miterLimit); in GetInflationRadius()
DSkStroke.cpp129 SkScalar radius, SkScalar miterLimit, SkPaint::Cap,
345 SkScalar radius, SkScalar miterLimit, in SkPathStroker() argument
358 if (miterLimit <= SK_Scalar1) { in SkPathStroker()
361 fInvMiterLimit = SkScalarInvert(miterLimit); in SkPathStroker()
1340 void SkStroke::setMiterLimit(SkScalar miterLimit) { in setMiterLimit() argument
1341 SkASSERT(miterLimit >= 0); in setMiterLimit()
1342 fMiterLimit = miterLimit; in setMiterLimit()
/external/skqp/experimental/svg/model/
DSkSVGNode.cpp177 if (const SkSVGNumberValue* miterLimit = v.as<SkSVGNumberValue>()) { in onSetAttribute() local
178 fPresentationAttributes.fStrokeMiterLimit.set(*miterLimit); in onSetAttribute()
/external/skia/src/gpu/
DGrTestUtils.cpp254 SkScalar miterLimit = random->nextRangeScalar(1.f, 5.f); in randomize_stroke_rec() local
255 rec->setStrokeParams(cap, join, miterLimit); in randomize_stroke_rec()
/external/freetype/src/psaux/
Dpshints.h221 CF2_Fixed miterLimit; member
Dpshints.c1136 glyphpath->miterLimit = 2 * FT_MAX( in cf2_glyphpath_init()
1285 glyphpath->miterLimit || in cf2_glyphpath_computeIntersection()
1287 glyphpath->miterLimit ) in cf2_glyphpath_computeIntersection()
/external/skqp/src/gpu/
DGrTestUtils.cpp247 SkScalar miterLimit = random->nextRangeScalar(1.f, 5.f); in randomize_stroke_rec() local
248 rec->setStrokeParams(cap, join, miterLimit); in randomize_stroke_rec()
/external/skqp/src/gpu/ccpr/
DGrCCPathCache.cpp144 float width = stroke.getWidth(), miterLimit = stroke.getMiter(); in write() local
146 memcpy(&out[kStrokeMiterIdx], &miterLimit, sizeof(float)); in write()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/content/
DBaseStrokeContent.java56 Paint.Join join, float miterLimit, AnimatableIntegerValue opacity, AnimatableFloatValue width, in BaseStrokeContent() argument
64 paint.setStrokeMiter(miterLimit); in BaseStrokeContent()
/external/skqp/docs/
DSkPaint_Reference.bmh1213 SkScalar miterLimit = 1 / SkScalarSin((angle2 - angle1) / 2);
1214 SkScalar miterLength = strokeWidth * miterLimit;
1222 paint.setStrokeMiter(miterLimit);
1229 miterLimit *= 0.99f;
1230 paint.setStrokeMiter(miterLimit);
/external/skia/tools/viewer/
DViewer.cpp2088 float miterLimit = fPaint.getStrokeMiter(); in drawImGui() local
2089 if (ImGui::SliderFloat("Miter Limit", &miterLimit, 0, 20)) { in drawImGui()
2090 fPaint.setStrokeMiter(miterLimit); in drawImGui()
/external/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js767 temp.stroke({'width': this.lineWidth, 'miter_limit': this.miterLimit,

12