Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DSkGpuDevice.cpp817 static inline void clamped_outset_with_offset(SkIRect* iRect, in clamped_outset_with_offset() argument
821 iRect->outset(outset, outset); in clamped_outset_with_offset()
823 int leftClampDelta = clamp.fLeft - iRect->fLeft; in clamped_outset_with_offset()
826 iRect->fLeft = clamp.fLeft; in clamped_outset_with_offset()
831 int topClampDelta = clamp.fTop - iRect->fTop; in clamped_outset_with_offset()
834 iRect->fTop = clamp.fTop; in clamped_outset_with_offset()
839 if (iRect->fRight > clamp.fRight) { in clamped_outset_with_offset()
840 iRect->fRight = clamp.fRight; in clamped_outset_with_offset()
842 if (iRect->fBottom > clamp.fBottom) { in clamped_outset_with_offset()
843 iRect->fBottom = clamp.fBottom; in clamped_outset_with_offset()
/external/skqp/src/gpu/
DSkGpuDevice.cpp855 static inline void clamped_outset_with_offset(SkIRect* iRect, in clamped_outset_with_offset() argument
859 iRect->outset(outset, outset); in clamped_outset_with_offset()
861 int leftClampDelta = clamp.fLeft - iRect->fLeft; in clamped_outset_with_offset()
864 iRect->fLeft = clamp.fLeft; in clamped_outset_with_offset()
869 int topClampDelta = clamp.fTop - iRect->fTop; in clamped_outset_with_offset()
872 iRect->fTop = clamp.fTop; in clamped_outset_with_offset()
877 if (iRect->fRight > clamp.fRight) { in clamped_outset_with_offset()
878 iRect->fRight = clamp.fRight; in clamped_outset_with_offset()
880 if (iRect->fBottom > clamp.fBottom) { in clamped_outset_with_offset()
881 iRect->fBottom = clamp.fBottom; in clamped_outset_with_offset()
/external/skia/tests/
DRegionTest.cpp500 auto iRect = iter.rect(); in DEF_TEST() local
501 REPORTER_ASSERT(reporter, iRect.isEmpty()); in DEF_TEST()
502 REPORTER_ASSERT(reporter, SkIRect::MakeEmpty() == iRect); in DEF_TEST()
/external/skqp/tests/
DRegionTest.cpp500 auto iRect = iter.rect(); in DEF_TEST() local
501 REPORTER_ASSERT(reporter, iRect.isEmpty()); in DEF_TEST()
502 REPORTER_ASSERT(reporter, SkIRect::MakeEmpty() == iRect); in DEF_TEST()
/external/skqp/docs/
DSkRegion_Reference.bmh1026 SkIRect iRect = SkIRect::MakeXYWH(frame * 160, 55, 10, 10);
1027 paint.setColor(region.intersects(iRect) ? SK_ColorBLUE : SK_ColorRED);
1028 canvas->drawRect(SkRect::Make(iRect), paint);
DSkCanvas_Reference.bmh2098 region is unaffected by canvas rotation; iRect is affected by canvas rotation.
2105 SkIRect iRect = {30, 40, 120, 130 };
2106 SkRegion region(iRect);
2113 canvas->clipRect(SkRect::Make(iRect), SkClipOp::kIntersect);
/external/skia/docs/
DSkRegion_Reference.bmh1026 SkIRect iRect = SkIRect::MakeXYWH(frame * 160, 55, 10, 10);
1027 paint.setColor(region.intersects(iRect) ? SK_ColorBLUE : SK_ColorRED);
1028 canvas->drawRect(SkRect::Make(iRect), paint);
DSkCanvas_Reference.bmh2041 region is unaffected by canvas rotation; iRect is affected by canvas rotation.
2048 SkIRect iRect = {30, 40, 120, 130 };
2049 SkRegion region(iRect);
2056 canvas->clipRect(SkRect::Make(iRect), SkClipOp::kIntersect);
/external/skqp/site/user/api/
DSkCanvas_Reference.md2712 …is unaffected by <a href='SkCanvas_Reference#Canvas'>canvas</a> rotation; iRect is affected by <a …
/external/skia/site/user/api/
DSkCanvas_Reference.md2712 …is unaffected by <a href='SkCanvas_Reference#Canvas'>canvas</a> rotation; iRect is affected by <a …