/external/skia/docs/examples/ |
D | Miter_Limit.cpp | 12 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/ |
D | GradientStroke.java | 27 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()
|
D | ShapeStroke.java | 61 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/ |
D | GrAALinearizingConvexPathRenderer.cpp | 130 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()
|
D | GrAAConvexTessellator.h | 38 SkScalar miterLimit = 0.0f) 43 , fMiterLimit(miterLimit) { in fSide()
|
/external/skia/src/gpu/ops/ |
D | GrAALinearizingConvexPathRenderer.cpp | 143 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()
|
D | GrAAConvexTessellator.h | 38 SkScalar miterLimit = 0.0f) 43 , fMiterLimit(miterLimit) { in fSide()
|
/external/skia/include/core/ |
D | SkStrokeRec.h | 60 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/ |
D | SkStrokeRec.h | 60 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/ |
D | ShapeStrokeParser.java | 45 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()
|
D | GradientStrokeParser.java | 56 float miterLimit = 0f; in parse() local 107 miterLimit = (float) reader.nextDouble(); in parse() 154 miterLimit, lineDashPattern, offset, hidden); in parse()
|
/external/skia/src/core/ |
D | SkStrokeRec.cpp | 149 SkScalar SkStrokeRec::GetInflationRadius(SkPaint::Join join, SkScalar miterLimit, SkPaint::Cap cap, in GetInflationRadius() argument 163 multiplier = std::max(multiplier, miterLimit); in GetInflationRadius()
|
D | SkStroke.cpp | 162 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/ |
D | SkStrokeRec.cpp | 149 SkScalar SkStrokeRec::GetInflationRadius(SkPaint::Join join, SkScalar miterLimit, SkPaint::Cap cap, in GetInflationRadius() argument 163 multiplier = SkTMax(multiplier, miterLimit); in GetInflationRadius()
|
D | SkStroke.cpp | 129 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/ |
D | SkSVGNode.cpp | 177 if (const SkSVGNumberValue* miterLimit = v.as<SkSVGNumberValue>()) { in onSetAttribute() local 178 fPresentationAttributes.fStrokeMiterLimit.set(*miterLimit); in onSetAttribute()
|
/external/skia/src/gpu/ |
D | GrTestUtils.cpp | 254 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/ |
D | pshints.h | 221 CF2_Fixed miterLimit; member
|
D | pshints.c | 1136 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/ |
D | GrTestUtils.cpp | 247 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/ |
D | GrCCPathCache.cpp | 144 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/ |
D | BaseStrokeContent.java | 56 Paint.Join join, float miterLimit, AnimatableIntegerValue opacity, AnimatableFloatValue width, in BaseStrokeContent() argument 64 paint.setStrokeMiter(miterLimit); in BaseStrokeContent()
|
/external/skqp/docs/ |
D | SkPaint_Reference.bmh | 1213 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/ |
D | Viewer.cpp | 2088 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/ |
D | canvas2dcontext.js | 767 temp.stroke({'width': this.lineWidth, 'miter_limit': this.miterLimit,
|