Searched refs:kUpperLeft_Corner (Results 1 – 14 of 14) sorted by relevance
/third_party/skia/src/core/ |
D | SkRRect.cpp | 129 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 …]
|
D | SkPathMakers.h | 77 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()
|
D | SkPathBuilder.cpp | 651 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()
|
D | SkBlurMF.cpp | 351 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()
|
D | SkGpuBlurUtils.cpp | 743 const SkVector& devRadiiUL = devRRect.radii(SkRRect::kUpperLeft_Corner); in ComputeBlurredRRectParams() 759 const SkVector& srcRadiiUL = srcRRect.radii(SkRRect::kUpperLeft_Corner); in ComputeBlurredRRectParams()
|
D | SkPathRef.cpp | 528 SkRRect::kUpperLeft_Corner : SkRRect::kLowerLeft_Corner : in getRRect()
|
/third_party/skia/src/gpu/effects/ |
D | GrRRectEffect.cpp | 29 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/ |
D | RRect_setNinePatch.cpp | 14 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()
|
D | RRect_Corner.cpp | 15 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()
|
D | RRect_radii.cpp | 9 SkDebugf("left corner: (%g) %g\n", radiusX, rrect1.radii(SkRRect::kUpperLeft_Corner).fX); in draw()
|
/third_party/skia/include/core/ |
D | SkRRect.h | 248 kUpperLeft_Corner, //!< index of top-left corner radii enumerator
|
/third_party/skia/tests/ |
D | RoundRectTest.cpp | 365 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/ |
D | DrawCommand.cpp | 454 DrawCommand::MakeJsonPoint(writer, rrect.radii(SkRRect::kUpperLeft_Corner)); in make_json_rrect()
|
/third_party/skia/tools/fiddle/ |
D | documumentation_examples_map.txt | 3258 enum Corner { kUpperLeft_Corner, kUpperRight_Corner, kLowerRight_Corner, kLowerLeft_Corner, };
|