Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrFixedClip.h33 bool SK_WARN_UNUSED_RESULT setScissor(const SkIRect& irect) { in setScissor() argument
34 return fScissorState.set(irect); in setScissor()
36 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& irect) { in intersect() argument
37 return fScissorState.intersect(irect); in intersect()
DGrAppliedClip.h51 bool addScissor(const SkIRect& irect, SkRect* clippedDrawBounds) { in addScissor() argument
52 return fScissorState.intersect(irect) && clippedDrawBounds->intersect(SkRect::Make(irect)); in addScissor()
55 void setScissor(const SkIRect& irect) { in setScissor() argument
56 fScissorState.set(irect); in setScissor()
/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/tests/
DCanvasTest.cpp96 SkIRect irect, irect2; in DEF_TEST() local
99 irect = canvas.getDeviceClipBounds(); in DEF_TEST()
100 REPORTER_ASSERT(reporter, irect == SkIRect::MakeWH(10, 10)); in DEF_TEST()
102 REPORTER_ASSERT(reporter, irect == irect2); in DEF_TEST()
112 irect = canvas.getDeviceClipBounds(); in DEF_TEST()
113 REPORTER_ASSERT(reporter, irect == SkIRect::MakeEmpty()); in DEF_TEST()
115 REPORTER_ASSERT(reporter, irect == irect2); in DEF_TEST()
/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.h679 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) { in Make()
681 SkIntToScalar(irect.fLeft), SkIntToScalar(irect.fTop), in Make()
682 SkIntToScalar(irect.fRight), SkIntToScalar(irect.fBottom) in Make()
DSkCanvas.h917 void clipIRect(const SkIRect& irect, SkClipOp op = SkClipOp::kIntersect) {
918 this->clipRect(SkRect::Make(irect), op, false);
/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/libwebsockets/minimal-examples/raw/minimal-raw-adopt-tcp/
DREADME.md40 [2018/03/23 09:03:57:7842] NOTICE: 0010: 69 72 65 63 74 0D 0A 73 65 72 76 65 72 3A 20 6C irect..…
/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/skia/src/ports/
DSkFontHost_FreeType.cpp1453 SkIRect irect = rect.roundOut(); in generateMetrics() local
1454 glyph->fWidth = SkToU16(irect.width()); in generateMetrics()
1455 glyph->fHeight = SkToU16(irect.height()); in generateMetrics()
1456 glyph->fTop = SkToS16(irect.top()); in generateMetrics()
1457 glyph->fLeft = SkToS16(irect.left()); in generateMetrics()
/external/skia/src/xps/
DSkXPSDevice.cpp1387 const SkIRect& irect = clip; in convertToPpm() local
1388 SkRect clipRect = SkRect::MakeLTRB(SkIntToScalar(irect.fLeft) * ppuScale->fX, in convertToPpm()
1389 SkIntToScalar(irect.fTop) * ppuScale->fY, in convertToPpm()
1390 SkIntToScalar(irect.fRight) * ppuScale->fX, in convertToPpm()
1391 SkIntToScalar(irect.fBottom) * ppuScale->fY); in convertToPpm()
/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.txt3410 static SkRect Make(const SkIRect& irect);