Home
last modified time | relevance | path

Searched refs:miter (Results 1 – 25 of 45) sorted by relevance

12

/external/skqp/src/effects/
DSkOpPathEffect.cpp92 SkScalar miter) { in Make() argument
93 if (!SkScalarsAreFinite(width, miter) || width < 0 || miter < 0) { in Make()
96 return sk_sp<SkPathEffect>(new SkStrokePE(width, join, cap, miter)); in Make()
99 SkStrokePE::SkStrokePE(SkScalar width, SkPaint::Join join, SkPaint::Cap cap, SkScalar miter) in SkStrokePE() argument
100 : fWidth(width), fMiter(miter), fJoin(join), fCap(cap) {} in SkStrokePE()
118 SkScalar miter = buffer.readScalar(); in CreateProc() local
121 return buffer.isValid() ? SkStrokePathEffect::Make(width, join, cap, miter) : nullptr; in CreateProc()
DSkOpPE.h50 SkStrokePE(SkScalar width, SkPaint::Join, SkPaint::Cap, SkScalar miter);
/external/skia/src/effects/
DSkOpPathEffect.cpp132 SkScalar miter) { in Make() argument
133 if (!SkScalarsAreFinite(width, miter) || width < 0 || miter < 0) { in Make()
136 return sk_sp<SkPathEffect>(new SkStrokePE(width, join, cap, miter)); in Make()
139 SkStrokePE::SkStrokePE(SkScalar width, SkPaint::Join join, SkPaint::Cap cap, SkScalar miter) in SkStrokePE() argument
140 : fWidth(width), fMiter(miter), fJoin(join), fCap(cap) {} in SkStrokePE()
168 SkScalar miter = buffer.readScalar(); in CreateProc() local
171 return buffer.isValid() ? SkStrokePathEffect::Make(width, join, cap, miter) : nullptr; in CreateProc()
DSkOpPE.h59 SkStrokePE(SkScalar width, SkPaint::Join, SkPaint::Cap, SkScalar miter);
/external/skqp/src/gpu/
DGrStyle.cpp82 SkScalar miter = -1.f; in WriteKey() local
90 miter = style.strokeRec().getMiter(); in WriteKey()
98 memcpy(&key[i++], &miter, sizeof(miter)); in WriteKey()
/external/skia/src/gpu/
DGrStyle.cpp82 SkScalar miter = -1.f; in WriteKey() local
90 miter = style.strokeRec().getMiter(); in WriteKey()
98 memcpy(&key[i++], &miter, sizeof(miter)); in WriteKey()
/external/skqp/src/gpu/ops/
DGrAAConvexTessellator.cpp555 SkPoint miter = previousRing.bisector(cur); in createOuterRing() local
556 miter.setLength(-outset); in createOuterRing()
557 miter += fPts[originalIdx]; in createOuterRing()
560 if (!duplicate_pt(miter, this->point(perp1Idx))) { in createOuterRing()
562 miterIdx = this->addPt(miter, -outset, coverage, false, kSharp_CurveState); in createOuterRing()
575 SkPoint miter = previousRing.bisector(cur); in createOuterRing() local
586 miter.setLength(-SkScalarSqrt(lengthSq)); in createOuterRing()
587 miter += fPts[originalIdx]; in createOuterRing()
590 if (!duplicate_pt(miter, this->point(perp1Idx))) { in createOuterRing()
592 miterIdx = this->addPt(miter, -outset, coverage, false, in createOuterRing()
/external/skia/src/gpu/ops/
DGrAAConvexTessellator.cpp571 SkPoint miter = previousRing.bisector(cur); in createOuterRing() local
572 miter.setLength(-outset); in createOuterRing()
573 miter += fPts[originalIdx]; in createOuterRing()
576 if (!duplicate_pt(miter, this->point(perp1Idx))) { in createOuterRing()
578 miterIdx = this->addPt(miter, -outset, coverage, false, kSharp_CurveState); in createOuterRing()
591 SkPoint miter = previousRing.bisector(cur); in createOuterRing() local
602 miter.setLength(-SkScalarSqrt(lengthSq)); in createOuterRing()
603 miter += fPts[originalIdx]; in createOuterRing()
606 if (!duplicate_pt(miter, this->point(perp1Idx))) { in createOuterRing()
608 miterIdx = this->addPt(miter, -outset, coverage, false, in createOuterRing()
/external/skqp/include/effects/
DSkOpPathEffect.h35 SkScalar miter = 4);
/external/skia/include/effects/
DSkOpPathEffect.h35 SkScalar miter = 4);
/external/skqp/src/c/
Dsk_paint.cpp96 void sk_paint_set_stroke_miter(sk_paint_t* cpaint, float miter) { in sk_paint_set_stroke_miter() argument
97 AsPaint(cpaint)->setStrokeMiter(miter); in sk_paint_set_stroke_miter()
/external/skia/src/c/
Dsk_paint.cpp96 void sk_paint_set_stroke_miter(sk_paint_t* cpaint, float miter) { in sk_paint_set_stroke_miter() argument
97 AsPaint(cpaint)->setStrokeMiter(miter); in sk_paint_set_stroke_miter()
/external/skia/include/c/
Dsk_paint.h90 SK_API void sk_paint_set_stroke_miter(sk_paint_t*, float miter);
/external/skqp/include/c/
Dsk_paint.h90 SK_API void sk_paint_set_stroke_miter(sk_paint_t*, float miter);
/external/skia/tests/
DPaintTest.cpp73 SkScalar miter = std::max(SK_Scalar1, paint.getStrokeMiter()); in DEF_TEST() local
75 paint.getStrokeWidth() * miter : in DEF_TEST()
/external/ImageMagick/Magick++/fuzz/dictionaries/
Dmvg.dict79 "miter"
/external/skqp/docs/
DSkPaint_Reference.bmh63 The miter limit may be overridden at compile time by defining
79 #define SkPaintDefaults_MiterLimit 10.f // use HTML Canvas miter limit setting
1165 Miter_Limit specifies the maximum miter length,
1172 If the miter at a corner exceeds this limit, kMiter_Join
1176 #Formula # miter limit = 1 / sin ( angle / 2 ) ##.
1182 Here are some miter limits and the angles that triggers them.
1185 # miter limit # angle in degrees ##
1203 This example draws a stroked corner and the miter length beneath.
1204 When the miter limit is decreased slightly, the miter join is replaced
1247 SkDebugf("default miter limit == %g\n", paint.getStrokeMiter());
[all …]
/external/skqp/tests/
DPaintTest.cpp183 SkScalar miter = SkMaxScalar(SK_Scalar1, paint.getStrokeMiter()); in DEF_TEST() local
185 paint.getStrokeWidth() * miter : in DEF_TEST()
/external/skqp/include/core/
DSkPaint.h317 void setStrokeMiter(SkScalar miter);
/external/skia/include/core/
DSkPaint.h349 void setStrokeMiter(SkScalar miter);
/external/rust/cxx/book/src/
Doverview.svg8 stroke-linejoin: miter;
/external/skqp/samplecode/
DSamplePathFuzz.cpp284 SkScalar miter = makeScalar(); in makePaint() local
285 paint.setStrokeMiter(miter); in makePaint()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime.cc159 auto miter = mdevice_data_.find(h); in GetRetTypes() local
160 if (miter != mdevice_data_.end()) { in GetRetTypes()
161 *ret_types = miter->second->ret_types_; in GetRetTypes()
297 auto miter = mdevice_data_.find(handle); in GetHandleOnDevice() local
298 if (miter != mdevice_data_.end()) { in GetHandleOnDevice()
301 const MultiDeviceFunctionData& data = *miter->second; in GetHandleOnDevice()
/external/rust/cxx/book/diagram/
Doverview.svg8 stroke-linejoin: miter;
/external/skqp/site/user/api/
DSkPaint_Reference.md77 …f='#SkPaint_setStrokeMiter'>setStrokeMiter</a>(<a href='undocumented#SkScalar'>SkScalar</a> miter);
228 …umented#Text'>text</a> <a href='undocumented#Size'>size</a>, hinting, and miter limit may be overr…
2071 <a href='#Paint_Miter_Limit'>Miter_Limit</a> specifies the maximum miter length,
2078 If the miter at a corner exceeds this limit, <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>
2082 <code><a href='#Miter_Limit'>miter limit</a> = 1 / sin ( angle / 2 )</code>.
2088 Here are some miter limits and the angles that triggers them.
2090 | <a href='#Miter_Limit'>miter limit</a> | angle in degrees |
2105 …e0f00354e59074a9bb1a42d5a63"><div>This example draws a stroked corner and the miter length beneath.
2106 When the <a href='#Miter_Limit'>miter limit</a> is decreased slightly, the miter join is replaced
2122 zero and greater miter limit
[all …]

12