Searched refs:kUpperRight_Corner (Results 1 – 13 of 13) sorted by relevance
/third_party/skia/src/core/ |
D | SkRRect.cpp | 130 fRadii[kUpperRight_Corner].set(rightRad, topRad); in setNinePatch() 289 } else if (x > fRect.fRight - fRadii[kUpperRight_Corner].fX && in checkCornerContainment() 290 y < fRect.fTop + fRadii[kUpperRight_Corner].fY) { in checkCornerContainment() 292 index = kUpperRight_Corner; in checkCornerContainment() 293 canonicalPt.set(x - (fRect.fRight - fRadii[kUpperRight_Corner].fX), in checkCornerContainment() 294 y - (fRect.fTop + fRadii[kUpperRight_Corner].fY)); in checkCornerContainment() 361 radii[SkRRect::kUpperLeft_Corner].fY == radii[SkRRect::kUpperRight_Corner].fY && in radii_are_nine_patch() 362 radii[SkRRect::kUpperRight_Corner].fX == radii[SkRRect::kLowerRight_Corner].fX && in radii_are_nine_patch() 523 swap(dst->fRadii[kUpperRight_Corner], dst->fRadii[kLowerLeft_Corner]); in transform() 526 swap(dst->fRadii[kUpperRight_Corner], dst->fRadii[kUpperLeft_Corner]); in transform() [all …]
|
D | SkPathMakers.h | 78 fPts[1] = SkPoint::Make(R - rrect.radii(SkRRect::kUpperRight_Corner).fX, T); in SkPath_RRectPointIterator() 79 fPts[2] = SkPoint::Make(R, T + rrect.radii(SkRRect::kUpperRight_Corner).fY); in SkPath_RRectPointIterator()
|
D | SkPathBuilder.cpp | 652 fPts[1] = SkPoint::Make(R - rrect.radii(SkRRect::kUpperRight_Corner).fX, T); in RRectPointIterator() 653 fPts[2] = SkPoint::Make(R, T + rrect.radii(SkRRect::kUpperRight_Corner).fY); in RRectPointIterator()
|
D | SkBlurMF.cpp | 352 const SkVector& UR = rrect.radii(SkRRect::kUpperRight_Corner); in filterRRectToNine() 383 radii[SkRRect::kUpperRight_Corner] = UR; in filterRRectToNine() 1056 SkRRect::kUpperRight_Corner, in make_blurred_rrect_key()
|
D | SkGpuBlurUtils.cpp | 744 const SkVector& devRadiiUR = devRRect.radii(SkRRect::kUpperRight_Corner); in ComputeBlurredRRectParams() 760 const SkVector& srcRadiiUR = srcRRect.radii(SkRRect::kUpperRight_Corner); in ComputeBlurredRRectParams()
|
D | SkPathRef.cpp | 530 SkRRect::kUpperRight_Corner : SkRRect::kLowerRight_Corner; in getRRect()
|
/third_party/skia/docs/examples/ |
D | RRect_setNinePatch.cpp | 15 r.fRight, r.fTop + rrect.radii(SkRRect::kUpperRight_Corner).fY, paint); in draw() 20 canvas->drawLine(r.fRight - rrect.radii(SkRRect::kUpperRight_Corner).fX, r.fTop, in draw()
|
D | RRect_Corner.cpp | 16 r.fRight, r.fTop + rrect.radii(SkRRect::kUpperRight_Corner).fY, paint); in draw() 21 canvas->drawLine(r.fRight - rrect.radii(SkRRect::kUpperRight_Corner).fX, r.fTop, in draw()
|
/third_party/skia/src/gpu/effects/ |
D | GrRRectEffect.cpp | 30 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() 473 r[SkRRect::kUpperRight_Corner].fX = r[SkRRect::kLowerRight_Corner].fX; in TestCreate() 474 r[SkRRect::kUpperRight_Corner].fY = r[SkRRect::kUpperLeft_Corner].fY; in TestCreate()
|
/third_party/skia/include/core/ |
D | SkRRect.h | 249 kUpperRight_Corner, //!< index of top-right corner radii enumerator
|
/third_party/skia/tests/ |
D | RoundRectTest.cpp | 35 REPORTER_ASSERT(reporter, (double) rr.radii(SkRRect::kUpperRight_Corner).fY + in test_tricky_radii() 538 const SkVector& origUR = orig.radii(SkRRect::kUpperRight_Corner); \ 542 const SkVector& dstUR = dst.radii(SkRRect::kUpperRight_Corner); \ 1125 (tr == kA ? a : (tr == kB ? b : kRect)).radii(SkRRect::kUpperRight_Corner), in verify_success()
|
/third_party/skia/tools/debugger/ |
D | DrawCommand.cpp | 455 DrawCommand::MakeJsonPoint(writer, rrect.radii(SkRRect::kUpperRight_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, };
|