Home
last modified time | relevance | path

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

12

/external/skia/gm/
Ddaa.cpp50 SkPoint rect1[] = {{0,0},{0,K},{K*0.5f,K},{K*0.5f,0}}; variable
51 path.addPoly(rect1, SK_ARRAY_COUNT(rect1), false);
78 SkPoint rect1[] = {{0,0},{0,K},{K*0.5f,K},{K*0.5f,0}}; variable
81 path.addPoly(rect1, SK_ARRAY_COUNT(rect1), false);
100 SkPoint rect1[] = {{0,0},{0,K},{K*0.5f,K},{K*0.5f,0}}; variable
103 path.addPoly(rect1, SK_ARRAY_COUNT(rect1), false);
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()
Dsavelayer.cpp92 SkRect rect1{40, 5, 80, 70}, rect2{5, 40, 70, 80}, rect3{10, 10, 70, 70}; local
98 canvas->saveLayer({ &rect1, &paint1, nullptr, nullptr, nullptr, flag});
/external/skia/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/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/fonttools/Lib/fontTools/misc/
DarrayTools.py84 def sectRect(rect1, rect2): argument
89 (xMin1, yMin1, xMax1, yMax1) = rect1
97 def unionRect(rect1, rect2): argument
102 (xMin1, yMin1, xMax1, yMax1) = rect1
113 def intRect(rect1): argument
117 (xMin, yMin, xMax, yMax) = rect1
/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()
Dsavelayer.cpp92 SkRect rect1{40, 5, 80, 70}, rect2{5, 40, 70, 80}, rect3{10, 10, 70, 70}; local
98 canvas->saveLayer({ &rect1, &paint1, nullptr, nullptr, nullptr, flag});
/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/skia/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/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.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/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/pdfium/fxbarcode/oned/
DBC_OnedEAN8Writer.cpp165 CFX_FloatRect rect1( in ShowChars() local
169 re = matr1.TransformRect(rect1).GetOuterRect(); in ShowChars()
DBC_OnedEAN13Writer.cpp161 CFX_FloatRect rect1( in ShowChars() local
166 re = matr1.TransformRect(rect1).GetOuterRect(); in ShowChars()
DBC_OnedUPCAWriter.cpp133 CFX_FloatRect rect1((float)(leftPosition + 40 * multiple), in ShowChars() local
138 re = matr1.TransformRect(rect1).GetOuterRect(); in ShowChars()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateApproximateWidths.java207 Rectangle2D rect1 = fontMetrics.getStringBounds(buffer, 0, bufferLen, g); in getTotalWidth() local
208 return rect1.getWidth(); in getTotalWidth()
/external/pdfium/core/fpdftext/
Dcpdf_textpage.cpp1297 CFX_FloatRect rect1(m_pPreTextObj->m_Left, pObj->m_Bottom, in ProcessInsertObject() local
1300 CFX_FloatRect rect3 = rect1; in ProcessInsertObject()
1301 rect1.Intersect(rect2); in ProcessInsertObject()
1302 if ((rect1.IsEmpty() && rect2.Height() > 5 && rect3.Height() > 5) || in ProcessInsertObject()
1485 bool CPDF_TextPage::IsRectIntersect(const CFX_FloatRect& rect1, in IsRectIntersect() argument
1487 CFX_FloatRect rect = rect1; in IsRectIntersect()
Dcpdf_textpage.h116 static bool IsRectIntersect(const CFX_FloatRect& rect1,
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCanvasTest.java403 RectF rect1 = new RectF(5f, 6f, 7f, 8f); in drawRect_shouldRecordRectHistoryEvents() local
420 assertThat(shadowCanvas.getDrawnRect(1).rect).isEqualTo(rect1); in drawRect_shouldRecordRectHistoryEvents()

12