Home
last modified time | relevance | path

Searched refs:irect (Results 1 – 17 of 17) sorted by relevance

/external/skqp/src/gpu/
DGrFixedClip.h29 void setScissor(const SkIRect& irect) { in setScissor() argument
30 fScissorState.set(irect); in setScissor()
32 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& irect) { in intersect() argument
33 return fScissorState.intersect(irect); in intersect()
DGrAppliedClip.h38 bool addScissor(const SkIRect& irect, SkRect* clippedDrawBounds) { in addScissor() argument
39 return fScissorState.intersect(irect) && clippedDrawBounds->intersect(SkRect::Make(irect)); in addScissor()
/external/skia/src/gpu/
DGrFixedClip.h29 void setScissor(const SkIRect& irect) { in setScissor() argument
30 fScissorState.set(irect); in setScissor()
32 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& irect) { in intersect() argument
33 return fScissorState.intersect(irect); in intersect()
DGrAppliedClip.h38 bool addScissor(const SkIRect& irect, SkRect* clippedDrawBounds) { in addScissor() argument
39 return fScissorState.intersect(irect) && clippedDrawBounds->intersect(SkRect::Make(irect)); in addScissor()
/external/skia/tests/
DCanvasTest.cpp58 SkIRect irect, irect2; in DEF_TEST() local
61 irect = canvas.getDeviceClipBounds(); in DEF_TEST()
62 REPORTER_ASSERT(reporter, irect == SkIRect::MakeWH(10, 10)); in DEF_TEST()
64 REPORTER_ASSERT(reporter, irect == irect2); in DEF_TEST()
74 irect = canvas.getDeviceClipBounds(); in DEF_TEST()
75 REPORTER_ASSERT(reporter, irect == SkIRect::MakeEmpty()); in DEF_TEST()
77 REPORTER_ASSERT(reporter, irect == irect2); in DEF_TEST()
DPictureTest.cpp579 const SkIRect irect = { 2, 2, 3, 3 }; in draw_bitmaps() local
588 canvas->drawBitmapNine(bitmap, irect, rect, &paint); in draw_bitmaps()
/external/skqp/tests/
DCanvasTest.cpp97 SkIRect irect, irect2; in DEF_TEST() local
100 irect = canvas.getDeviceClipBounds(); in DEF_TEST()
101 REPORTER_ASSERT(reporter, irect == SkIRect::MakeWH(10, 10)); in DEF_TEST()
103 REPORTER_ASSERT(reporter, irect == irect2); in DEF_TEST()
113 irect = canvas.getDeviceClipBounds(); in DEF_TEST()
114 REPORTER_ASSERT(reporter, irect == SkIRect::MakeEmpty()); in DEF_TEST()
116 REPORTER_ASSERT(reporter, irect == irect2); in DEF_TEST()
DPictureTest.cpp587 const SkIRect irect = { 2, 2, 3, 3 }; in draw_bitmaps() local
596 canvas->drawBitmapNine(bitmap, irect, rect, &paint); in draw_bitmaps()
/external/skia/include/core/
DSkRect.h660 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) { in Make()
662 SkIntToScalar(irect.fLeft), SkIntToScalar(irect.fTop), in Make()
663 SkIntToScalar(irect.fRight), SkIntToScalar(irect.fBottom) in Make()
/external/skqp/include/core/
DSkRect.h785 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) { in Make()
787 r.set(SkIntToScalar(irect.fLeft), in Make()
788 SkIntToScalar(irect.fTop), in Make()
789 SkIntToScalar(irect.fRight), in Make()
790 SkIntToScalar(irect.fBottom)); in Make()
/external/skia/src/xps/
DSkXPSDevice.cpp1375 const SkIRect& irect = clip; in convertToPpm() local
1376 SkRect clipRect = SkRect::MakeLTRB(SkIntToScalar(irect.fLeft) * ppuScale->fX, in convertToPpm()
1377 SkIntToScalar(irect.fTop) * ppuScale->fY, in convertToPpm()
1378 SkIntToScalar(irect.fRight) * ppuScale->fX, in convertToPpm()
1379 SkIntToScalar(irect.fBottom) * ppuScale->fY); in convertToPpm()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp1285 SkIRect irect = rect.roundOut(); in generateMetrics() local
1286 glyph->fWidth = SkToU16(irect.width()); in generateMetrics()
1287 glyph->fHeight = SkToU16(irect.height()); in generateMetrics()
1288 glyph->fTop = SkToS16(irect.top()); in generateMetrics()
1289 glyph->fLeft = SkToS16(irect.left()); in generateMetrics()
/external/skqp/src/ports/
DSkFontHost_FreeType.cpp1264 SkIRect irect = rect.roundOut(); in generateMetrics() local
1265 glyph->fWidth = SkToU16(irect.width()); in generateMetrics()
1266 glyph->fHeight = SkToU16(irect.height()); in generateMetrics()
1267 glyph->fTop = SkToS16(irect.top()); in generateMetrics()
1268 glyph->fLeft = SkToS16(irect.left()); in generateMetrics()
/external/skqp/src/xps/
DSkXPSDevice.cpp1397 const SkIRect& irect = clip; in convertToPpm() local
1398 SkRect clipRect = SkRect::MakeLTRB(SkIntToScalar(irect.fLeft) * ppuScale->fX, in convertToPpm()
1399 SkIntToScalar(irect.fTop) * ppuScale->fY, in convertToPpm()
1400 SkIntToScalar(irect.fRight) * ppuScale->fX, in convertToPpm()
1401 SkIntToScalar(irect.fBottom) * ppuScale->fY); in convertToPpm()
/external/skqp/site/user/api/
DSkRect_Reference.md26 …</a> <a href='#SkRect_Make'>Make</a>(const <a href='SkIRect_Reference#SkIRect'>SkIRect</a>& irect);
442 …t</a> <a href='#SkRect_Make'>Make</a>(const <a href='SkIRect_Reference#SkIRect'>SkIRect</a>& irect)
445 …Rect_Reference#SkIRect'>SkIRect</a> set to <a href='#SkRect_Make_2_irect'>irect</a>, promoting int…
451 <table> <tr> <td><a name='SkRect_Make_2_irect'><code><strong>irect</strong></code></a></td>
458 <a href='#SkRect_Make_2_irect'>irect</a> members converted to <a href='undocumented#SkScalar'>SkSca…
/external/skqp/docs/
DSkRect_Reference.bmh229 #Method static SkRect Make(const SkIRect& irect)
/external/skia/tools/fiddle/
Ddocumumentation_examples_map.txt3441 static SkRect Make(const SkIRect& irect);