Home
last modified time | relevance | path

Searched refs:kUpperRight_Corner (Results 1 – 25 of 26) sorted by relevance

12

/external/skqp/src/core/
DSkRRect.cpp106 fRadii[kUpperRight_Corner].set(rightRad, topRad); in setNinePatch()
260 } else if (x > fRect.fRight - fRadii[kUpperRight_Corner].fX && in checkCornerContainment()
261 y < fRect.fTop + fRadii[kUpperRight_Corner].fY) { in checkCornerContainment()
263 index = kUpperRight_Corner; in checkCornerContainment()
264 canonicalPt.set(x - (fRect.fRight - fRadii[kUpperRight_Corner].fX), in checkCornerContainment()
265 y - (fRect.fTop + fRadii[kUpperRight_Corner].fY)); in checkCornerContainment()
321 radii[SkRRect::kUpperLeft_Corner].fY == radii[SkRRect::kUpperRight_Corner].fY && in radii_are_nine_patch()
322 radii[SkRRect::kUpperRight_Corner].fX == radii[SkRRect::kLowerRight_Corner].fX && in radii_are_nine_patch()
455 swap(dst->fRadii[kUpperRight_Corner], dst->fRadii[kLowerLeft_Corner]); in transform()
458 swap(dst->fRadii[kUpperRight_Corner], dst->fRadii[kUpperLeft_Corner]); in transform()
[all …]
DSkBlurMF.cpp183 const SkVector& devRadiiUR = devRRect.radii(SkRRect::kUpperRight_Corner); in SkComputeBlurredRRectParams()
199 const SkVector& srcRadiiUR = srcRRect.radii(SkRRect::kUpperRight_Corner); in SkComputeBlurredRRectParams()
489 const SkVector& UR = rrect.radii(SkRRect::kUpperRight_Corner); in filterRRectToNine()
520 radii[SkRRect::kUpperRight_Corner] = UR; in filterRRectToNine()
DSkPathRef.cpp766 SkRRect::kUpperRight_Corner : SkRRect::kLowerRight_Corner; in getRRect()
DSkPath.cpp1013 fPts[1] = SkPoint::Make(R - rrect.radii(SkRRect::kUpperRight_Corner).fX, T); in RRectPointIterator()
1014 fPts[2] = SkPoint::Make(R, T + rrect.radii(SkRRect::kUpperRight_Corner).fY); in RRectPointIterator()
/external/skia/src/core/
DSkRRect.cpp106 fRadii[kUpperRight_Corner].set(rightRad, topRad); in setNinePatch()
260 } else if (x > fRect.fRight - fRadii[kUpperRight_Corner].fX && in checkCornerContainment()
261 y < fRect.fTop + fRadii[kUpperRight_Corner].fY) { in checkCornerContainment()
263 index = kUpperRight_Corner; in checkCornerContainment()
264 canonicalPt.set(x - (fRect.fRight - fRadii[kUpperRight_Corner].fX), in checkCornerContainment()
265 y - (fRect.fTop + fRadii[kUpperRight_Corner].fY)); in checkCornerContainment()
321 radii[SkRRect::kUpperLeft_Corner].fY == radii[SkRRect::kUpperRight_Corner].fY && in radii_are_nine_patch()
322 radii[SkRRect::kUpperRight_Corner].fX == radii[SkRRect::kLowerRight_Corner].fX && in radii_are_nine_patch()
455 swap(dst->fRadii[kUpperRight_Corner], dst->fRadii[kLowerLeft_Corner]); in transform()
458 swap(dst->fRadii[kUpperRight_Corner], dst->fRadii[kUpperLeft_Corner]); in transform()
[all …]
DSkBlurMF.cpp183 const SkVector& devRadiiUR = devRRect.radii(SkRRect::kUpperRight_Corner); in SkComputeBlurredRRectParams()
199 const SkVector& srcRadiiUR = srcRRect.radii(SkRRect::kUpperRight_Corner); in SkComputeBlurredRRectParams()
489 const SkVector& UR = rrect.radii(SkRRect::kUpperRight_Corner); in filterRRectToNine()
520 radii[SkRRect::kUpperRight_Corner] = UR; in filterRRectToNine()
DSkPathRef.cpp771 SkRRect::kUpperRight_Corner : SkRRect::kLowerRight_Corner; in getRRect()
DSkPath.cpp1013 fPts[1] = SkPoint::Make(R - rrect.radii(SkRRect::kUpperRight_Corner).fX, T); in RRectPointIterator()
1014 fPts[2] = SkPoint::Make(R, T + rrect.radii(SkRRect::kUpperRight_Corner).fY); in RRectPointIterator()
/external/skqp/src/gpu/effects/
DGrRRectEffect.cpp31 kTopRight_CornerFlag = (1 << SkRRect::kUpperRight_Corner),
314 radius = rrect.radii(SkRRect::kUpperRight_Corner).fX; in onSetData()
349 radius = rrect.radii(SkRRect::kUpperRight_Corner).fX; in onSetData()
460 r[SkRRect::kUpperRight_Corner].fX = r[SkRRect::kLowerRight_Corner].fX; in TestCreate()
461 r[SkRRect::kUpperRight_Corner].fY = r[SkRRect::kUpperLeft_Corner].fY; in TestCreate()
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.cpp31 kTopRight_CornerFlag = (1 << SkRRect::kUpperRight_Corner),
314 radius = rrect.radii(SkRRect::kUpperRight_Corner).fX; in onSetData()
349 radius = rrect.radii(SkRRect::kUpperRight_Corner).fX; in onSetData()
460 r[SkRRect::kUpperRight_Corner].fX = r[SkRRect::kLowerRight_Corner].fX; in TestCreate()
461 r[SkRRect::kUpperRight_Corner].fY = r[SkRRect::kUpperLeft_Corner].fY; in TestCreate()
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.bmh49 kUpperRight_Corner,
763 r.fRight, r.fTop + rrect.radii(SkRRect::kUpperRight_Corner).fY, paint);
768 canvas->drawLine(r.fRight - rrect.radii(SkRRect::kUpperRight_Corner).fX, r.fTop,
816 kUpperRight_Corner,
827 #Const kUpperRight_Corner 1
848 r.fRight, r.fTop + rrect.radii(SkRRect::kUpperRight_Corner).fY, paint);
853 canvas->drawLine(r.fRight - rrect.radii(SkRRect::kUpperRight_Corner).fX, r.fTop,
/external/skia/docs/
DSkRRect_Reference.bmh49 kUpperRight_Corner,
763 r.fRight, r.fTop + rrect.radii(SkRRect::kUpperRight_Corner).fY, paint);
768 canvas->drawLine(r.fRight - rrect.radii(SkRRect::kUpperRight_Corner).fX, r.fTop,
816 kUpperRight_Corner,
827 #Const kUpperRight_Corner 1
848 r.fRight, r.fTop + rrect.radii(SkRRect::kUpperRight_Corner).fY, paint);
853 canvas->drawLine(r.fRight - rrect.radii(SkRRect::kUpperRight_Corner).fX, r.fTop,
/external/skqp/include/core/
DSkRRect.h280 kUpperRight_Corner, //!< index of top-right corner radii enumerator
/external/skia/include/core/
DSkRRect.h280 kUpperRight_Corner, //!< index of top-right corner radii enumerator
/external/skia/tests/
DRoundRectTest.cpp32 REPORTER_ASSERT(reporter, (double) rr.radii(SkRRect::kUpperRight_Corner).fY + in test_tricky_radii()
535 const SkVector& origUR = orig.radii(SkRRect::kUpperRight_Corner); \
539 const SkVector& dstUR = dst.radii(SkRRect::kUpperRight_Corner); \
/external/skqp/tests/
DRoundRectTest.cpp32 REPORTER_ASSERT(reporter, (double) rr.radii(SkRRect::kUpperRight_Corner).fY + in test_tricky_radii()
535 const SkVector& origUR = orig.radii(SkRRect::kUpperRight_Corner); \
539 const SkVector& dstUR = dst.radii(SkRRect::kUpperRight_Corner); \
/external/skia/src/gpu/
DGrReducedClip.cpp563 const SkVector& insetTR = clipRRect.radii(SkRRect::kUpperRight_Corner); in clipOutsideElement()
/external/skqp/src/gpu/
DGrReducedClip.cpp563 const SkVector& insetTR = clipRRect.radii(SkRRect::kUpperRight_Corner); in clipOutsideElement()
/external/skia/site/user/api/
DSkRRect_Reference.md51 <a href='#SkRRect_kUpperRight_Corner'>kUpperRight_Corner</a>,
839 <a href='#SkRRect_kUpperRight_Corner'>kUpperRight_Corner</a>,
860 …adding: 8px; '><a name='SkRRect_kUpperRight_Corner'><code>SkRRect::kUpperRight_Corner</code></a></…
937 …t_Corner'>kUpperLeft_Corner</a>, <a href='#SkRRect_kUpperRight_Corner'>kUpperRight_Corner</a>,</td>
/external/skqp/site/user/api/
DSkRRect_Reference.md51 <a href='#SkRRect_kUpperRight_Corner'>kUpperRight_Corner</a>,
839 <a href='#SkRRect_kUpperRight_Corner'>kUpperRight_Corner</a>,
860 …adding: 8px; '><a name='SkRRect_kUpperRight_Corner'><code>SkRRect::kUpperRight_Corner</code></a></…
937 …t_Corner'>kUpperLeft_Corner</a>, <a href='#SkRRect_kUpperRight_Corner'>kUpperRight_Corner</a>,</td>
/external/skqp/tools/debugger/
DSkDrawCommand.cpp530 SkDrawCommand::MakeJsonPoint(writer, rrect.radii(SkRRect::kUpperRight_Corner)); in make_json_rrect()

12