Home
last modified time | relevance | path

Searched refs:kUpperLeft_Corner (Results 1 – 25 of 28) sorted by relevance

12

/external/skqp/src/core/
DSkRRect.cpp105 fRadii[kUpperLeft_Corner].set(leftRad, topRad); in setNinePatch()
244 index = kUpperLeft_Corner; // any corner will do in this case in checkCornerContainment()
246 if (x < fRect.fLeft + fRadii[kUpperLeft_Corner].fX && in checkCornerContainment()
247 y < fRect.fTop + fRadii[kUpperLeft_Corner].fY) { in checkCornerContainment()
249 index = kUpperLeft_Corner; in checkCornerContainment()
250 canonicalPt.set(x - (fRect.fLeft + fRadii[kUpperLeft_Corner].fX), in checkCornerContainment()
251 y - (fRect.fTop + fRadii[kUpperLeft_Corner].fY)); in checkCornerContainment()
320 return radii[SkRRect::kUpperLeft_Corner].fX == radii[SkRRect::kLowerLeft_Corner].fX && in radii_are_nine_patch()
321 radii[SkRRect::kUpperLeft_Corner].fY == radii[SkRRect::kUpperRight_Corner].fY && in radii_are_nine_patch()
454 swap(dst->fRadii[kUpperLeft_Corner], dst->fRadii[kLowerRight_Corner]); in transform()
[all …]
DSkBlurMF.cpp182 const SkVector& devRadiiUL = devRRect.radii(SkRRect::kUpperLeft_Corner); in SkComputeBlurredRRectParams()
198 const SkVector& srcRadiiUL = srcRRect.radii(SkRRect::kUpperLeft_Corner); in SkComputeBlurredRRectParams()
488 const SkVector& UL = rrect.radii(SkRRect::kUpperLeft_Corner); in filterRRectToNine()
519 radii[SkRRect::kUpperLeft_Corner] = UL; in filterRRectToNine()
DSkPathRef.cpp764 SkRRect::kUpperLeft_Corner : SkRRect::kLowerLeft_Corner : in getRRect()
DSkPath.cpp1012 fPts[0] = SkPoint::Make(L + rrect.radii(SkRRect::kUpperLeft_Corner).fX, T); in RRectPointIterator()
1019 fPts[7] = SkPoint::Make(L, T + rrect.radii(SkRRect::kUpperLeft_Corner).fY); in RRectPointIterator()
/external/skia/src/core/
DSkRRect.cpp105 fRadii[kUpperLeft_Corner].set(leftRad, topRad); in setNinePatch()
244 index = kUpperLeft_Corner; // any corner will do in this case in checkCornerContainment()
246 if (x < fRect.fLeft + fRadii[kUpperLeft_Corner].fX && in checkCornerContainment()
247 y < fRect.fTop + fRadii[kUpperLeft_Corner].fY) { in checkCornerContainment()
249 index = kUpperLeft_Corner; in checkCornerContainment()
250 canonicalPt.set(x - (fRect.fLeft + fRadii[kUpperLeft_Corner].fX), in checkCornerContainment()
251 y - (fRect.fTop + fRadii[kUpperLeft_Corner].fY)); in checkCornerContainment()
320 return radii[SkRRect::kUpperLeft_Corner].fX == radii[SkRRect::kLowerLeft_Corner].fX && in radii_are_nine_patch()
321 radii[SkRRect::kUpperLeft_Corner].fY == radii[SkRRect::kUpperRight_Corner].fY && in radii_are_nine_patch()
454 swap(dst->fRadii[kUpperLeft_Corner], dst->fRadii[kLowerRight_Corner]); in transform()
[all …]
DSkBlurMF.cpp182 const SkVector& devRadiiUL = devRRect.radii(SkRRect::kUpperLeft_Corner); in SkComputeBlurredRRectParams()
198 const SkVector& srcRadiiUL = srcRRect.radii(SkRRect::kUpperLeft_Corner); in SkComputeBlurredRRectParams()
488 const SkVector& UL = rrect.radii(SkRRect::kUpperLeft_Corner); in filterRRectToNine()
519 radii[SkRRect::kUpperLeft_Corner] = UL; in filterRRectToNine()
DSkPathRef.cpp769 SkRRect::kUpperLeft_Corner : SkRRect::kLowerLeft_Corner : in getRRect()
DSkPath.cpp1012 fPts[0] = SkPoint::Make(L + rrect.radii(SkRRect::kUpperLeft_Corner).fX, T); in RRectPointIterator()
1019 fPts[7] = SkPoint::Make(L, T + rrect.radii(SkRRect::kUpperLeft_Corner).fY); in RRectPointIterator()
/external/skqp/src/gpu/effects/
DGrRRectEffect.cpp30 kTopLeft_CornerFlag = (1 << SkRRect::kUpperLeft_Corner),
307 radius = rrect.radii(SkRRect::kUpperLeft_Corner).fX; in onSetData()
335 radius = rrect.radii(SkRRect::kUpperLeft_Corner).fX; in onSetData()
342 radius = rrect.radii(SkRRect::kUpperLeft_Corner).fX; in onSetData()
448 r[SkRRect::kUpperLeft_Corner].fX = d->fRandom->nextRangeF(kRadiusMin, 9.f); in TestCreate()
451 r[SkRRect::kUpperLeft_Corner].fY = d->fRandom->nextRangeF(kRadiusMin, 9.f); in TestCreate()
452 } while (r[SkRRect::kUpperLeft_Corner].fY == r[SkRRect::kUpperLeft_Corner].fX); in TestCreate()
461 r[SkRRect::kUpperRight_Corner].fY = r[SkRRect::kUpperLeft_Corner].fY; in TestCreate()
463 r[SkRRect::kLowerLeft_Corner].fX = r[SkRRect::kUpperLeft_Corner].fX; in TestCreate()
468 rrect.setRectXY(SkRect::MakeWH(w, h), r[SkRRect::kUpperLeft_Corner].fX, in TestCreate()
[all …]
DGrRRectBlurEffect.h40 for (auto c : {SkRRect::kUpperLeft_Corner, SkRRect::kUpperRight_Corner, in find_or_create_rrect_blur_mask()
DGrRRectBlurEffect.fp40 for (auto c : { SkRRect::kUpperLeft_Corner, SkRRect::kUpperRight_Corner,
/external/skia/src/gpu/effects/
DGrRRectEffect.cpp30 kTopLeft_CornerFlag = (1 << SkRRect::kUpperLeft_Corner),
307 radius = rrect.radii(SkRRect::kUpperLeft_Corner).fX; in onSetData()
335 radius = rrect.radii(SkRRect::kUpperLeft_Corner).fX; in onSetData()
342 radius = rrect.radii(SkRRect::kUpperLeft_Corner).fX; in onSetData()
448 r[SkRRect::kUpperLeft_Corner].fX = d->fRandom->nextRangeF(kRadiusMin, 9.f); in TestCreate()
451 r[SkRRect::kUpperLeft_Corner].fY = d->fRandom->nextRangeF(kRadiusMin, 9.f); in TestCreate()
452 } while (r[SkRRect::kUpperLeft_Corner].fY == r[SkRRect::kUpperLeft_Corner].fX); in TestCreate()
461 r[SkRRect::kUpperRight_Corner].fY = r[SkRRect::kUpperLeft_Corner].fY; in TestCreate()
463 r[SkRRect::kLowerLeft_Corner].fX = r[SkRRect::kUpperLeft_Corner].fX; in TestCreate()
468 rrect.setRectXY(SkRect::MakeWH(w, h), r[SkRRect::kUpperLeft_Corner].fX, in TestCreate()
[all …]
DGrRRectBlurEffect.h42 for (auto c : {SkRRect::kUpperLeft_Corner, SkRRect::kUpperRight_Corner, in find_or_create_rrect_blur_mask()
DGrRRectBlurEffect.fp42 for (auto c : { SkRRect::kUpperLeft_Corner, SkRRect::kUpperRight_Corner,
/external/skqp/docs/
DSkRRect_Reference.bmh48 kUpperLeft_Corner,
762 canvas->drawLine(r.fLeft, r.fTop + rrect.radii(SkRRect::kUpperLeft_Corner).fY,
766 canvas->drawLine(r.fLeft + rrect.radii(SkRRect::kUpperLeft_Corner).fX, r.fTop,
815 kUpperLeft_Corner,
824 #Const kUpperLeft_Corner 0
847 canvas->drawLine(r.fLeft, r.fTop + rrect.radii(SkRRect::kUpperLeft_Corner).fY,
851 canvas->drawLine(r.fLeft + rrect.radii(SkRRect::kUpperLeft_Corner).fX, r.fTop,
902 SkDebugf("left corner: (%g) %g\n", radiusX, rrect1.radii(SkRRect::kUpperLeft_Corner).fX);
/external/skia/docs/
DSkRRect_Reference.bmh48 kUpperLeft_Corner,
762 canvas->drawLine(r.fLeft, r.fTop + rrect.radii(SkRRect::kUpperLeft_Corner).fY,
766 canvas->drawLine(r.fLeft + rrect.radii(SkRRect::kUpperLeft_Corner).fX, r.fTop,
815 kUpperLeft_Corner,
824 #Const kUpperLeft_Corner 0
847 canvas->drawLine(r.fLeft, r.fTop + rrect.radii(SkRRect::kUpperLeft_Corner).fY,
851 canvas->drawLine(r.fLeft + rrect.radii(SkRRect::kUpperLeft_Corner).fX, r.fTop,
902 SkDebugf("left corner: (%g) %g\n", radiusX, rrect1.radii(SkRRect::kUpperLeft_Corner).fX);
/external/skia/tests/
DRoundRectTest.cpp362 const SkPoint& p = rr1.radii(SkRRect::kUpperLeft_Corner); in test_round_rect_iffy_parameters()
373 const SkPoint& p2 = rr2.radii(SkRRect::kUpperLeft_Corner); in test_round_rect_iffy_parameters()
534 const SkVector& origUL = orig.radii(SkRRect::kUpperLeft_Corner); \
538 const SkVector& dstUL = dst.radii(SkRRect::kUpperLeft_Corner); \
/external/skqp/tests/
DRoundRectTest.cpp362 const SkPoint& p = rr1.radii(SkRRect::kUpperLeft_Corner); in test_round_rect_iffy_parameters()
373 const SkPoint& p2 = rr2.radii(SkRRect::kUpperLeft_Corner); in test_round_rect_iffy_parameters()
534 const SkVector& origUL = orig.radii(SkRRect::kUpperLeft_Corner); \
538 const SkVector& dstUL = dst.radii(SkRRect::kUpperLeft_Corner); \
/external/skqp/include/core/
DSkRRect.h279 kUpperLeft_Corner, //!< index of top-left corner radii enumerator
/external/skia/include/core/
DSkRRect.h279 kUpperLeft_Corner, //!< index of top-left corner radii enumerator
/external/skia/src/gpu/
DGrReducedClip.cpp560 SkVector insetTL = clipRRect.radii(SkRRect::kUpperLeft_Corner); in clipOutsideElement()
/external/skqp/src/gpu/
DGrReducedClip.cpp560 SkVector insetTL = clipRRect.radii(SkRRect::kUpperLeft_Corner); in clipOutsideElement()
/external/skia/site/user/api/
DSkRRect_Reference.md50 <a href='#SkRRect_kUpperLeft_Corner'>kUpperLeft_Corner</a>,
838 <a href='#SkRRect_kUpperLeft_Corner'>kUpperLeft_Corner</a>,
854 … padding: 8px; '><a name='SkRRect_kUpperLeft_Corner'><code>SkRRect::kUpperLeft_Corner</code></a></…
937 …<td>one of: <a href='#SkRRect_kUpperLeft_Corner'>kUpperLeft_Corner</a>, <a href='#SkRRect_kUpperRi…
/external/skqp/site/user/api/
DSkRRect_Reference.md50 <a href='#SkRRect_kUpperLeft_Corner'>kUpperLeft_Corner</a>,
838 <a href='#SkRRect_kUpperLeft_Corner'>kUpperLeft_Corner</a>,
854 … padding: 8px; '><a name='SkRRect_kUpperLeft_Corner'><code>SkRRect::kUpperLeft_Corner</code></a></…
937 …<td>one of: <a href='#SkRRect_kUpperLeft_Corner'>kUpperLeft_Corner</a>, <a href='#SkRRect_kUpperRi…
/external/skqp/tools/debugger/
DSkDrawCommand.cpp529 SkDrawCommand::MakeJsonPoint(writer, rrect.radii(SkRRect::kUpperLeft_Corner)); in make_json_rrect()

12