Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkRRect.cpp130 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 …]
DSkPathMakers.h78 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()
DSkPathBuilder.cpp652 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()
DSkBlurMF.cpp352 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()
DSkGpuBlurUtils.cpp744 const SkVector& devRadiiUR = devRRect.radii(SkRRect::kUpperRight_Corner); in ComputeBlurredRRectParams()
760 const SkVector& srcRadiiUR = srcRRect.radii(SkRRect::kUpperRight_Corner); in ComputeBlurredRRectParams()
DSkPathRef.cpp530 SkRRect::kUpperRight_Corner : SkRRect::kLowerRight_Corner; in getRRect()
/third_party/skia/docs/examples/
DRRect_setNinePatch.cpp15 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()
DRRect_Corner.cpp16 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/
DGrRRectEffect.cpp30 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/
DSkRRect.h249 kUpperRight_Corner, //!< index of top-right corner radii enumerator
/third_party/skia/tests/
DRoundRectTest.cpp35 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/
DDrawCommand.cpp455 DrawCommand::MakeJsonPoint(writer, rrect.radii(SkRRect::kUpperRight_Corner)); in make_json_rrect()
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt3258 enum Corner { kUpperLeft_Corner, kUpperRight_Corner, kLowerRight_Corner, kLowerLeft_Corner, };