Searched refs:iRect (Results 1 – 9 of 9) sorted by relevance
/third_party/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()
|
/third_party/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);
|
/third_party/skia/src/gpu/v1/ |
D | Device_drawTexture.cpp | 220 inline void clamped_outset_with_offset(SkIRect* iRect, int outset, SkPoint* offset, in clamped_outset_with_offset() argument 222 iRect->outset(outset, outset); in clamped_outset_with_offset() 224 int leftClampDelta = clamp.fLeft - iRect->fLeft; in clamped_outset_with_offset() 227 iRect->fLeft = clamp.fLeft; in clamped_outset_with_offset() 232 int topClampDelta = clamp.fTop - iRect->fTop; in clamped_outset_with_offset() 235 iRect->fTop = clamp.fTop; in clamped_outset_with_offset() 240 if (iRect->fRight > clamp.fRight) { in clamped_outset_with_offset() 241 iRect->fRight = clamp.fRight; in clamped_outset_with_offset() 243 if (iRect->fBottom > clamp.fBottom) { in clamped_outset_with_offset() 244 iRect->fBottom = clamp.fBottom; in clamped_outset_with_offset()
|
/third_party/skia/src/core/ |
D | SkGlyph.h | 196 SkIRect iRect() const { in iRect() function 310 SkIRect iRect() const { return SkIRect::MakeXYWH(fLeft, fTop, fWidth, fHeight); } in iRect() function
|
D | SkScalerContext.cpp | 608 } else if (origGlyph.iRect() == unfilteredGlyph->iRect()) { in getImage()
|
/third_party/skia/src/pdf/ |
D | SkPDFFont.cpp | 591 glyphBBox = glyph->iRect(); in emit_subset_type3()
|
/third_party/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 823 SkIRect outBounds = fGlyphDeviceBounds.iRect(); in deviceRect()
|