Home
last modified time | relevance | path

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

/third_party/flutter/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()
/third_party/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()
/third_party/flutter/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.cpp587 const SkIRect irect = { 2, 2, 3, 3 }; in draw_bitmaps() local
596 canvas->drawBitmapNine(bitmap, irect, rect, &paint); in draw_bitmaps()
/third_party/skia/tests/
DCanvasTest.cpp95 SkIRect irect, irect2; in DEF_TEST() local
98 irect = canvas.getDeviceClipBounds(); in DEF_TEST()
99 REPORTER_ASSERT(reporter, irect == SkIRect::MakeWH(10, 10)); in DEF_TEST()
101 REPORTER_ASSERT(reporter, irect == irect2); in DEF_TEST()
111 irect = canvas.getDeviceClipBounds(); in DEF_TEST()
112 REPORTER_ASSERT(reporter, irect == SkIRect::MakeEmpty()); in DEF_TEST()
114 REPORTER_ASSERT(reporter, irect == irect2); in DEF_TEST()
/third_party/skia/include/core/
DSkRect.h678 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) { in Make()
680 SkIntToScalar(irect.fLeft), SkIntToScalar(irect.fTop), in Make()
681 SkIntToScalar(irect.fRight), SkIntToScalar(irect.fBottom) in Make()
DSkCanvas.h930 void clipIRect(const SkIRect& irect, SkClipOp op = SkClipOp::kIntersect) {
931 this->clipRect(SkRect::Make(irect), op, false);
/third_party/flutter/skia/include/core/
DSkRect.h775 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) { in Make()
777 r.set(SkIntToScalar(irect.fLeft), in Make()
778 SkIntToScalar(irect.fTop), in Make()
779 SkIntToScalar(irect.fRight), in Make()
780 SkIntToScalar(irect.fBottom)); in Make()
/third_party/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..…
/third_party/skia/src/ports/
DSkFontHost_FreeType.cpp1255 SkIRect irect = rect.roundOut(); in generateMetrics() local
1256 glyph->fWidth = SkToU16(irect.width()); in generateMetrics()
1257 glyph->fHeight = SkToU16(irect.height()); in generateMetrics()
1258 glyph->fTop = SkToS16(irect.top()); in generateMetrics()
1259 glyph->fLeft = SkToS16(irect.left()); in generateMetrics()
/third_party/flutter/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()
/third_party/flutter/skia/src/xps/
DSkXPSDevice.cpp1401 const SkIRect& irect = clip; in convertToPpm() local
1402 SkRect clipRect = SkRect::MakeLTRB(SkIntToScalar(irect.fLeft) * ppuScale->fX, in convertToPpm()
1403 SkIntToScalar(irect.fTop) * ppuScale->fY, in convertToPpm()
1404 SkIntToScalar(irect.fRight) * ppuScale->fX, in convertToPpm()
1405 SkIntToScalar(irect.fBottom) * ppuScale->fY); in convertToPpm()
/third_party/skia/src/xps/
DSkXPSDevice.cpp1390 const SkIRect& irect = clip; in convertToPpm() local
1391 SkRect clipRect = SkRect::MakeLTRB(SkIntToScalar(irect.fLeft) * ppuScale->fX, in convertToPpm()
1392 SkIntToScalar(irect.fTop) * ppuScale->fY, in convertToPpm()
1393 SkIntToScalar(irect.fRight) * ppuScale->fX, in convertToPpm()
1394 SkIntToScalar(irect.fBottom) * ppuScale->fY); in convertToPpm()
/third_party/flutter/skia/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…
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt3402 static SkRect Make(const SkIRect& irect);
/third_party/flutter/skia/tools/fiddle/
Ddocumumentation_examples_map.txt3445 static SkRect Make(const SkIRect& irect);