Home
last modified time | relevance | path

Searched refs:rect1 (Results 1 – 25 of 37) sorted by relevance

12

/external/skia/docs/examples/
DIRect_setLTRB.cpp7 SkIRect rect1 = {3, 4, 1, 2}; in draw() local
8 SkDebugf("rect1: {%d, %d, %d, %d}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom); in draw()
DRect_setLTRB.cpp7 SkRect rect1 = {3, 4, 1, 2}; in draw() local
8 SkDebugf("rect1: {%g, %g, %g, %g}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom); in draw()
DRect_Make.cpp7 SkRect rect1 = SkRect::MakeSize({2, 35}); in draw() local
9 SkDebugf("rect1 %c= rect2\n", rect1 == rect2 ? '=' : '!'); in draw()
DRect_MakeWH.cpp7 SkRect rect1 = SkRect::MakeWH(25, 35); in draw() local
11 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ? in draw()
DIRect_MakeWH.cpp7 SkIRect rect1 = SkIRect::MakeWH(25, 35); in draw() local
11 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ? in draw()
/external/v4l2_codec2/common/
DCommon.cpp11 bool contains(const Rect& rect1, const Rect& rect2) { in contains() argument
12 return (rect2.left >= rect1.left && rect2.right <= rect1.right && rect2.top >= rect1.top && in contains()
13 rect2.bottom <= rect1.bottom); in contains()
/external/fonttools/Lib/fontTools/misc/
DarrayTools.py178 def sectRect(rect1, rect2): argument
192 (xMin1, yMin1, xMax1, yMax1) = rect1
200 def unionRect(rect1, rect2): argument
212 (xMin1, yMin1, xMax1, yMax1) = rect1
/external/skqp/docs/
DSkRect_Reference.bmh83 SkRect rect1 = SkRect::MakeWH(25, 35);
87 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ?
215 SkRect rect1 = SkRect::MakeSize({2, 35});
217 SkDebugf("rect1 %c= rect2\n", rect1 == rect2 ? '=' : '!');
219 rect1 == rect2
819 SkRect rect1 = {3, 4, 1, 2};
820 SkDebugf("rect1: {%g, %g, %g, %g}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom);
825 rect1: {3, 4, 1, 2}
843 SkRect rect1 = {3, 4, 1, 2};
844 SkDebugf("rect1: {%g, %g, %g, %g}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom);
[all …]
DSkIRect_Reference.bmh79 SkIRect rect1 = SkIRect::MakeWH(25, 35);
83 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ?
571 SkIRect rect1 = {3, 4, 1, 2};
572 SkDebugf("rect1: {%d, %d, %d, %d}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom);
577 rect1: {3, 4, 1, 2}
595 SkIRect rect1 = {3, 4, 1, 2};
596 SkDebugf("rect1: {%d, %d, %d, %d}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom);
601 rect1: {3, 4, 1, 2}
/external/skqp/gm/
Dclipdrawdraw.cpp41 const SkRect rect1 = SkRect::MakeLTRB(136.5f, 137.5f, 338.5f, 293.5f); variable
47 Draw(canvas, rect1);
Dmodecolorfilters.cpp48 SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(checkSize), SkIntToScalar(checkSize), in make_bg_shader() local
50 canvas.drawRect(rect1, paint); in make_bg_shader()
/external/skia/gm/
Dclipdrawdraw.cpp45 const SkRect rect1 = SkRect::MakeLTRB(136.5f, 137.5f, 338.5f, 293.5f); variable
51 Draw(canvas, rect1);
Dmodecolorfilters.cpp62 SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(checkSize), SkIntToScalar(checkSize), in make_bg_shader() local
64 canvas.drawRect(rect1, paint); in make_bg_shader()
/external/angle/src/libANGLE/
Dangletypes.cpp710 void GetEnclosingRectangle(const Rectangle &rect1, const Rectangle &rect2, Rectangle *rectUnion) in GetEnclosingRectangle() argument
714 ASSERT(!rect1.isReversedX() && !rect1.isReversedY()); in GetEnclosingRectangle()
716 ASSERT((angle::CheckedNumeric<int>(rect1.x) + rect1.width).IsValid()); in GetEnclosingRectangle()
717 ASSERT((angle::CheckedNumeric<int>(rect1.y) + rect1.height).IsValid()); in GetEnclosingRectangle()
743 int x0 = std::min(rect1.x0(), rect2.x0()); in GetEnclosingRectangle()
744 int y0 = std::min(rect1.y0(), rect2.y0()); in GetEnclosingRectangle()
746 int x1 = std::max(rect1.x1(), rect2.x1()); in GetEnclosingRectangle()
747 int y1 = std::max(rect1.y1(), rect2.y1()); in GetEnclosingRectangle()
Dangletypes_unittest.cpp293 const gl::Rectangle rect1(0, 0, 100, 200); in TEST() local
297 gl::GetEnclosingRectangle(rect1, rect2, &result); in TEST()
305 gl::GetEnclosingRectangle(rect1, rect3, &result); in TEST()
313 gl::GetEnclosingRectangle(rect1, rect4, &result); in TEST()
321 gl::GetEnclosingRectangle(rect1, rect5, &result); in TEST()
/external/skia/src/pathops/
DSkPathOpsOp.cpp253 SkRect rect1, rect2; in OpDebug() local
254 if (kIntersect_SkPathOp == op && one.isRect(&rect1) && two.isRect(&rect2)) { in OpDebug()
257 if (rect1.intersect(rect2)) { in OpDebug()
258 result->addRect(rect1); in OpDebug()
/external/skqp/src/pathops/
DSkPathOpsOp.cpp255 SkRect rect1, rect2; in OpDebug() local
256 if (kIntersect_SkPathOp == op && one.isRect(&rect1) && two.isRect(&rect2)) { in OpDebug()
259 if (rect1.intersect(rect2)) { in OpDebug()
260 result->addRect(rect1); in OpDebug()
/external/skqp/tests/
DPathOpsCubicIntersectionTest.cpp495 SkDRect rect1, rect2; in CubicIntersection_RandTest() local
499 rect1.setBounds(c1); in CubicIntersection_RandTest()
501 bool boundsIntersect = rect1.fLeft <= rect2.fRight && rect2.fLeft <= rect2.fRight in CubicIntersection_RandTest()
502 && rect1.fTop <= rect2.fBottom && rect2.fTop <= rect1.fBottom; in CubicIntersection_RandTest()
DWriter32Test.cpp192 const SkRect rect1 = SkRect::MakeXYWH(1, 2, 3, 4); in testOverwriteT() local
200 writer->writeRect(rect1); in testOverwriteT()
208 REPORTER_ASSERT(reporter, writer->readTAt<SkRect>(padding + sizeof(uint32_t)) == rect1); in testOverwriteT()
/external/skia/tests/
DPathOpsCubicIntersectionTest.cpp495 SkDRect rect1, rect2; in CubicIntersection_RandTest() local
499 rect1.setBounds(c1); in CubicIntersection_RandTest()
501 bool boundsIntersect = rect1.fLeft <= rect2.fRight && rect2.fLeft <= rect2.fRight in CubicIntersection_RandTest()
502 && rect1.fTop <= rect2.fBottom && rect2.fTop <= rect1.fBottom; in CubicIntersection_RandTest()
DWriter32Test.cpp132 const SkRect rect1 = SkRect::MakeXYWH(1, 2, 3, 4); in testOverwriteT() local
140 writer->writeRect(rect1); in testOverwriteT()
148 REPORTER_ASSERT(reporter, writer->readTAt<SkRect>(padding + sizeof(uint32_t)) == rect1); in testOverwriteT()
/external/pdfium/fxbarcode/oned/
DBC_OnedEAN8Writer.cpp156 CFX_FloatRect rect1( in ShowChars() local
160 re = matr1.TransformRect(rect1).GetOuterRect(); in ShowChars()
DBC_OnedUPCAWriter.cpp134 CFX_FloatRect rect1((float)(leftPosition + 40 * multiple), in ShowChars() local
139 re = matr1.TransformRect(rect1).GetOuterRect(); in ShowChars()
DBC_OnedEAN13Writer.cpp153 CFX_FloatRect rect1( in ShowChars() local
158 re = matr1.TransformRect(rect1).GetOuterRect(); in ShowChars()
/external/v4l2_codec2/common/include/v4l2_codec2/common/
DCommon.h37 bool contains(const Rect& rect1, const Rect& rect2);

12