Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkRRect.cpp129 fRadii[kUpperLeft_Corner].set(leftRad, topRad); in setNinePatch()
273 index = kUpperLeft_Corner; // any corner will do in this case in checkCornerContainment()
275 if (x < fRect.fLeft + fRadii[kUpperLeft_Corner].fX && in checkCornerContainment()
276 y < fRect.fTop + fRadii[kUpperLeft_Corner].fY) { in checkCornerContainment()
278 index = kUpperLeft_Corner; in checkCornerContainment()
279 canonicalPt.set(x - (fRect.fLeft + fRadii[kUpperLeft_Corner].fX), in checkCornerContainment()
280 y - (fRect.fTop + fRadii[kUpperLeft_Corner].fY)); in checkCornerContainment()
360 return radii[SkRRect::kUpperLeft_Corner].fX == radii[SkRRect::kLowerLeft_Corner].fX && in radii_are_nine_patch()
361 radii[SkRRect::kUpperLeft_Corner].fY == radii[SkRRect::kUpperRight_Corner].fY && in radii_are_nine_patch()
522 swap(dst->fRadii[kUpperLeft_Corner], dst->fRadii[kLowerRight_Corner]); in transform()
[all …]
DSkPathMakers.h77 fPts[0] = SkPoint::Make(L + rrect.radii(SkRRect::kUpperLeft_Corner).fX, T); in SkPath_RRectPointIterator()
84 fPts[7] = SkPoint::Make(L, T + rrect.radii(SkRRect::kUpperLeft_Corner).fY); in SkPath_RRectPointIterator()
DSkPathBuilder.cpp651 fPts[0] = SkPoint::Make(L + rrect.radii(SkRRect::kUpperLeft_Corner).fX, T); in RRectPointIterator()
658 fPts[7] = SkPoint::Make(L, T + rrect.radii(SkRRect::kUpperLeft_Corner).fY); in RRectPointIterator()
DSkBlurMF.cpp351 const SkVector& UL = rrect.radii(SkRRect::kUpperLeft_Corner); in filterRRectToNine()
382 radii[SkRRect::kUpperLeft_Corner] = UL; in filterRRectToNine()
1055 for (auto c : {SkRRect::kUpperLeft_Corner, in make_blurred_rrect_key()
DSkGpuBlurUtils.cpp743 const SkVector& devRadiiUL = devRRect.radii(SkRRect::kUpperLeft_Corner); in ComputeBlurredRRectParams()
759 const SkVector& srcRadiiUL = srcRRect.radii(SkRRect::kUpperLeft_Corner); in ComputeBlurredRRectParams()
DSkPathRef.cpp528 SkRRect::kUpperLeft_Corner : SkRRect::kLowerLeft_Corner : in getRRect()
/third_party/skia/src/gpu/effects/
DGrRRectEffect.cpp29 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()
461 r[SkRRect::kUpperLeft_Corner].fX = d->fRandom->nextRangeF(kRadiusMin, 9.f); in TestCreate()
464 r[SkRRect::kUpperLeft_Corner].fY = d->fRandom->nextRangeF(kRadiusMin, 9.f); in TestCreate()
465 } while (r[SkRRect::kUpperLeft_Corner].fY == r[SkRRect::kUpperLeft_Corner].fX); in TestCreate()
474 r[SkRRect::kUpperRight_Corner].fY = r[SkRRect::kUpperLeft_Corner].fY; in TestCreate()
476 r[SkRRect::kLowerLeft_Corner].fX = r[SkRRect::kUpperLeft_Corner].fX; in TestCreate()
481 rrect.setRectXY(SkRect::MakeWH(w, h), r[SkRRect::kUpperLeft_Corner].fX, in TestCreate()
[all …]
/third_party/skia/docs/examples/
DRRect_setNinePatch.cpp14 canvas->drawLine(r.fLeft, r.fTop + rrect.radii(SkRRect::kUpperLeft_Corner).fY, in draw()
18 canvas->drawLine(r.fLeft + rrect.radii(SkRRect::kUpperLeft_Corner).fX, r.fTop, in draw()
DRRect_Corner.cpp15 canvas->drawLine(r.fLeft, r.fTop + rrect.radii(SkRRect::kUpperLeft_Corner).fY, in draw()
19 canvas->drawLine(r.fLeft + rrect.radii(SkRRect::kUpperLeft_Corner).fX, r.fTop, in draw()
DRRect_radii.cpp9 SkDebugf("left corner: (%g) %g\n", radiusX, rrect1.radii(SkRRect::kUpperLeft_Corner).fX); in draw()
/third_party/skia/include/core/
DSkRRect.h248 kUpperLeft_Corner, //!< index of top-left corner radii enumerator
/third_party/skia/tests/
DRoundRectTest.cpp365 const SkPoint& p = rr1.radii(SkRRect::kUpperLeft_Corner); in test_round_rect_iffy_parameters()
376 const SkPoint& p2 = rr2.radii(SkRRect::kUpperLeft_Corner); in test_round_rect_iffy_parameters()
537 const SkVector& origUL = orig.radii(SkRRect::kUpperLeft_Corner); \
541 const SkVector& dstUL = dst.radii(SkRRect::kUpperLeft_Corner); \
1124 (tl == kA ? a : (tl == kB ? b : kRect)).radii(SkRRect::kUpperLeft_Corner), in verify_success()
/third_party/skia/tools/debugger/
DDrawCommand.cpp454 DrawCommand::MakeJsonPoint(writer, rrect.radii(SkRRect::kUpperLeft_Corner)); in make_json_rrect()
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt3258 enum Corner { kUpperLeft_Corner, kUpperRight_Corner, kLowerRight_Corner, kLowerLeft_Corner, };