Home
last modified time | relevance | path

Searched refs:iRect (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/tests/
H A DSkGlyphTest.cpp16 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()
H A 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()
/third_party/skia/docs/examples/
H A DCanvas_clipRegion.cpp9 SkIRect iRect = {30, 40, 120, 130 }; in REG_FIDDLE() local
10 SkRegion region(iRect); in REG_FIDDLE()
17 canvas->clipRect(SkRect::Make(iRect), SkClipOp::kIntersect); in REG_FIDDLE()
H A DRegion_intersects.cpp15 SkIRect iRect = SkIRect::MakeXYWH(frame * 160, 55, 10, 10); in REG_FIDDLE() local
16 paint.setColor(region.intersects(iRect) ? SK_ColorBLUE : SK_ColorRED); in REG_FIDDLE()
17 canvas->drawRect(SkRect::Make(iRect), paint); in REG_FIDDLE()
/third_party/skia/src/gpu/v1/
H A DDevice_drawTexture.cpp217 // This method outsets 'iRect' by 'outset' all around and then clamps its extents to
219 // of 'iRect' for all possible outsets/clamps.
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 in clamped_outset_with_offset()
[all...]
/third_party/skia/src/core/
H A DSkGlyph.h196 SkIRect iRect() const {
310 SkIRect iRect() const { return SkIRect::MakeXYWH(fLeft, fTop, fWidth, fHeight); }
H A DSkScalerContext.cpp608 } else if (origGlyph.iRect() == unfilteredGlyph->iRect()) { in getImage()
/third_party/skia/src/pdf/
H A DSkPDFFont.cpp591 glyphBBox = glyph->iRect(); in emit_subset_type3()
/third_party/skia/src/gpu/text/
H A DGrTextBlob.cpp823 SkIRect outBounds = fGlyphDeviceBounds.iRect(); in deviceRect()

Completed in 11 milliseconds