Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkRRect.cpp107 fRadii[kUpperRight_Corner].set(rightRad, topRad); in setNinePatch()
223 } else if (x > fRect.fRight - fRadii[kUpperRight_Corner].fX && in checkCornerContainment()
224 y < fRect.fTop + fRadii[kUpperRight_Corner].fY) { in checkCornerContainment()
226 index = kUpperRight_Corner; in checkCornerContainment()
227 canonicalPt.set(x - (fRect.fRight - fRadii[kUpperRight_Corner].fX), in checkCornerContainment()
228 y - (fRect.fTop + fRadii[kUpperRight_Corner].fY)); in checkCornerContainment()
284 radii[SkRRect::kUpperLeft_Corner].fY == radii[SkRRect::kUpperRight_Corner].fY && in radii_are_nine_patch()
285 radii[SkRRect::kUpperRight_Corner].fX == radii[SkRRect::kLowerRight_Corner].fX && in radii_are_nine_patch()
416 SkTSwap(dst->fRadii[kUpperRight_Corner], dst->fRadii[kLowerLeft_Corner]); in transform()
419 SkTSwap(dst->fRadii[kUpperRight_Corner], dst->fRadii[kUpperLeft_Corner]); in transform()
[all …]
DSkPathRef.cpp516 SkRRect::kUpperRight_Corner : SkRRect::kLowerRight_Corner; in getRRect()
DSkPath.cpp949 fPts[1] = SkPoint::Make(R - rrect.radii(SkRRect::kUpperRight_Corner).fX, T); in RRectPointIterator()
950 fPts[2] = SkPoint::Make(R, T + rrect.radii(SkRRect::kUpperRight_Corner).fY); in RRectPointIterator()
/external/skia/src/gpu/effects/
DGrRRectEffect.cpp31 kTopRight_CornerFlag = (1 << SkRRect::kUpperRight_Corner),
317 radius = rrect.radii(SkRRect::kUpperRight_Corner).fX; in onSetData()
352 radius = rrect.radii(SkRRect::kUpperRight_Corner).fX; in onSetData()
463 r[SkRRect::kUpperRight_Corner].fX = r[SkRRect::kLowerRight_Corner].fX; in TestCreate()
464 r[SkRRect::kUpperRight_Corner].fY = r[SkRRect::kUpperLeft_Corner].fY; in TestCreate()
/external/skia/include/core/
DSkRRect.h205 kUpperRight_Corner, enumerator
/external/skia/tests/
DRoundRectTest.cpp31 REPORTER_ASSERT(reporter, (double) rr.radii(SkRRect::kUpperRight_Corner).fY + in test_tricky_radii()
518 const SkVector& origUR = orig.radii(SkRRect::kUpperRight_Corner); \
522 const SkVector& dstUR = dst.radii(SkRRect::kUpperRight_Corner); \
/external/skia/src/effects/
DSkBlurMaskFilter.cpp377 const SkVector& UR = rrect.radii(SkRRect::kUpperRight_Corner); in filterRRectToNine()
408 radii[SkRRect::kUpperRight_Corner] = UR; in filterRRectToNine()
/external/skia/src/utils/
DSkDumpCanvas.cpp52 rrect.radii(SkRRect::kUpperRight_Corner), in toString()
/external/skia/tools/json/
DSkJSONCanvas.cpp62 result.append(this->makePoint(rrect.radii(SkRRect::kUpperRight_Corner))); in makeRRect()
/external/skia/tools/debugger/
DSkDrawCommand.cpp472 result.append(make_json_point(rrect.radii(SkRRect::kUpperRight_Corner))); in make_json_rrect()