/external/skia/tests/ |
D | SkGlyphTest.cpp | 16 REPORTER_ASSERT(reporter, a.iRect() == SkIRect::MakeLTRB(1, 1, 10, 10)); in DEF_TEST() 19 REPORTER_ASSERT(reporter, a.iRect() == SkIRect::MakeLTRB(1, 1, 10, 10)); in DEF_TEST() 27 REPORTER_ASSERT(reporter, acc.iRect() == SkIRect::MakeLTRB(9, 9, 10, 10)); in DEF_TEST() 35 REPORTER_ASSERT(reporter, acc.iRect() == SkIRect::MakeLTRB(-10, -10, 29, 29)); in DEF_TEST()
|
D | RegionTest.cpp | 500 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/skia/docs/examples/ |
D | Canvas_clipRegion.cpp | 9 SkIRect iRect = {30, 40, 120, 130 }; in draw() local 10 SkRegion region(iRect); in draw() 17 canvas->clipRect(SkRect::Make(iRect), SkClipOp::kIntersect); in draw()
|
D | Region_intersects.cpp | 15 SkIRect iRect = SkIRect::MakeXYWH(frame * 160, 55, 10, 10); 16 paint.setColor(region.intersects(iRect) ? SK_ColorBLUE : SK_ColorRED); 17 canvas->drawRect(SkRect::Make(iRect), paint);
|
/external/skia/src/gpu/ |
D | SkGpuDevice_drawTexture.cpp | 218 static inline void clamped_outset_with_offset(SkIRect* iRect, int outset, SkPoint* offset, in clamped_outset_with_offset() argument 220 iRect->outset(outset, outset); in clamped_outset_with_offset() 222 int leftClampDelta = clamp.fLeft - iRect->fLeft; in clamped_outset_with_offset() 225 iRect->fLeft = clamp.fLeft; in clamped_outset_with_offset() 230 int topClampDelta = clamp.fTop - iRect->fTop; in clamped_outset_with_offset() 233 iRect->fTop = clamp.fTop; in clamped_outset_with_offset() 238 if (iRect->fRight > clamp.fRight) { in clamped_outset_with_offset() 239 iRect->fRight = clamp.fRight; in clamped_outset_with_offset() 241 if (iRect->fBottom > clamp.fBottom) { in clamped_outset_with_offset() 242 iRect->fBottom = clamp.fBottom; in clamped_outset_with_offset()
|
/external/skqp/src/gpu/ |
D | SkGpuDevice.cpp | 855 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/skqp/tests/ |
D | RegionTest.cpp | 500 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/skia/src/core/ |
D | SkGlyph.h | 195 SkIRect iRect() const { in iRect() function 309 SkIRect iRect() const { return SkIRect::MakeXYWH(fLeft, fTop, fWidth, fHeight); } in iRect() function
|
D | SkScalerContext.cpp | 612 } else if (origGlyph.iRect() == unfilteredGlyph->iRect()) { in getImage()
|
/external/skqp/docs/ |
D | SkRegion_Reference.bmh | 1026 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);
|
D | SkCanvas_Reference.bmh | 2098 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/src/pdf/ |
D | SkPDFFont.cpp | 591 glyphBBox = glyph->iRect(); in emit_subset_type3()
|
/external/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 805 SkIRect outBounds = fGlyphDeviceBounds.iRect(); in deviceRect()
|
/external/skqp/site/user/api/ |
D | SkCanvas_Reference.md | 2712 …is unaffected by <a href='SkCanvas_Reference#Canvas'>canvas</a> rotation; iRect is affected by <a …
|