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.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/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/skia/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/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/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/effects/
DSkOpPathEffect.h35 SkScalar miter = 4);
/external/skqp/include/effects/
DSkOpPathEffect.h35 SkScalar miter = 4);
/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/docs/
DSkPaint_Reference.bmh62 The miter limit may be overridden at compile time by defining
77 #define SkPaintDefaults_MiterLimit 10.f // use HTML Canvas miter limit setting
973 Miter_Limit specifies the maximum miter length,
980 If the miter at a corner exceeds this limit, kMiter_Join
984 #Formula # miter limit = 1 / sin ( angle / 2 ) ##.
990 Here are some miter limits and the angles that triggers them.
993 # miter limit # angle in degrees ##
1011 This example draws a stroked corner and the miter length beneath.
1012 When the miter limit is decreased slightly, the miter join is replaced
1055 SkDebugf("default miter limit == %g\n", paint.getStrokeMiter());
[all …]
/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/ImageMagick/Magick++/fuzz/dictionaries/
Dmvg.dict79 "miter"
/external/skia/tests/
DPaintTest.cpp183 SkScalar miter = SkMaxScalar(SK_Scalar1, paint.getStrokeMiter()); in DEF_TEST() local
185 paint.getStrokeWidth() * miter : in DEF_TEST()
/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.h319 void setStrokeMiter(SkScalar miter);
/external/skqp/samplecode/
DSamplePathFuzz.cpp284 SkScalar miter = makeScalar(); in makePaint() local
285 paint.setStrokeMiter(miter); in makePaint()
/external/skia/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…
2044 <a href='#Paint_Miter_Limit'>Miter_Limit</a> specifies the maximum miter length,
2051 If the miter at a corner exceeds this limit, <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>
2055 <code><a href='#Miter_Limit'>miter limit</a> = 1 / sin ( angle / 2 )</code>.
2061 Here are some miter limits and the angles that triggers them.
2063 | <a href='#Miter_Limit'>miter limit</a> | angle in degrees |
2078 …e0f00354e59074a9bb1a42d5a63"><div>This example draws a stroked corner and the miter length beneath.
2079 When the <a href='#Miter_Limit'>miter limit</a> is decreased slightly, the miter join is replaced
2095 zero and greater miter limit
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime.cc243 auto miter = mdevice_data_.find(handle); in GetHandleOnDevice() local
244 if (miter != mdevice_data_.end()) { in GetHandleOnDevice()
/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