Home
last modified time | relevance | path

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

12

/external/fonttools/Lib/fontTools/misc/
DarrayTools.py86 def sectRect(rect1, rect2): argument
91 (xMin1, yMin1, xMax1, yMax1) = rect1
99 def unionRect(rect1, rect2): argument
104 (xMin1, yMin1, xMax1, yMax1) = rect1
115 def intRect(rect1): argument
119 (xMin, yMin, xMax, yMax) = rect1
/external/skqp/gm/
Dclipdrawdraw.cpp43 const SkRect rect1 = SkRect::MakeLTRB(136.5f, 137.5f, 338.5f, 293.5f); variable
49 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
97 canvas->saveLayer({ &rect1, &paint1, nullptr, nullptr, nullptr, flag});
/external/skia/gm/
Dclipdrawdraw.cpp43 const SkRect rect1 = SkRect::MakeLTRB(136.5f, 137.5f, 338.5f, 293.5f); variable
49 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
97 canvas->saveLayer({ &rect1, &paint1, nullptr, nullptr, nullptr, flag});
/external/skia/docs/
DSkRect_Reference.bmh115 SkRect rect1 = SkRect::MakeWH(25, 35);
119 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ?
285 SkRect rect1 = SkRect::MakeSize({2, 35});
287 SkDebugf("rect1 %c= rect2\n", rect1 == rect2 ? '=' : '!');
289 rect1 == rect2
975 SkRect rect1 = {3, 4, 1, 2};
976 SkDebugf("rect1: {%g, %g, %g, %g}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom);
981 rect1: {3, 4, 1, 2}
1006 SkRect rect1 = {3, 4, 1, 2};
1007 SkDebugf("rect1: {%g, %g, %g, %g}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom);
[all …]
DSkIRect_Reference.bmh108 SkIRect rect1 = SkIRect::MakeWH(25, 35);
112 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ?
785 SkIRect rect1 = {3, 4, 1, 2};
786 SkDebugf("rect1: {%d, %d, %d, %d}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom);
791 rect1: {3, 4, 1, 2}
816 SkIRect rect1 = {3, 4, 1, 2};
817 SkDebugf("rect1: {%d, %d, %d, %d}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom);
822 rect1: {3, 4, 1, 2}
/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.cpp494 SkDRect rect1, rect2; in CubicIntersection_RandTest() local
498 rect1.setBounds(c1); in CubicIntersection_RandTest()
500 bool boundsIntersect = rect1.fLeft <= rect2.fRight && rect2.fLeft <= rect2.fRight in CubicIntersection_RandTest()
501 && 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()
DPictureTest.cpp359 SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(4), SkIntToScalar(4), in test_clip_bound_opt() local
367 invPath.addOval(rect1); in test_clip_bound_opt()
/external/skqp/docs/
DSkRect_Reference.bmh132 SkRect rect1 = SkRect::MakeWH(25, 35);
136 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ?
318 SkRect rect1 = SkRect::MakeSize({2, 35});
320 SkDebugf("rect1 %c= rect2\n", rect1 == rect2 ? '=' : '!');
322 rect1 == rect2
1055 SkRect rect1 = {3, 4, 1, 2};
1056 SkDebugf("rect1: {%g, %g, %g, %g}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom);
1061 rect1: {3, 4, 1, 2}
1086 SkRect rect1 = {3, 4, 1, 2};
1087 SkDebugf("rect1: {%g, %g, %g, %g}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom);
[all …]
DSkIRect_Reference.bmh119 SkIRect rect1 = SkIRect::MakeWH(25, 35);
123 SkDebugf("all %s" "equal\n", rect1 == rect2 && rect2 == rect3 && rect3 == rect4 ?
770 SkIRect rect1 = {3, 4, 1, 2};
771 SkDebugf("rect1: {%d, %d, %d, %d}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom);
776 rect1: {3, 4, 1, 2}
800 SkIRect rect1 = {3, 4, 1, 2};
801 SkDebugf("rect1: {%d, %d, %d, %d}\n", rect1.fLeft, rect1.fTop, rect1.fRight, rect1.fBottom);
806 rect1: {3, 4, 1, 2}
/external/pdfium/fxbarcode/oned/
DBC_OnedEAN8Writer.cpp165 CFX_FloatRect rect1( in ShowChars() local
169 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()
DBC_OnedEAN13Writer.cpp161 CFX_FloatRect rect1( in ShowChars() local
166 re = matr1.TransformRect(rect1).GetOuterRect(); in ShowChars()
/external/skqp/src/effects/
DSkRRectsGaussianEdgeMaskFilter.cpp531 SkRect rect1, rect2; in CreateProc() local
533 buf.readRect(&rect1); in CreateProc()
543 return sk_make_sp<SkRRectsGaussianEdgeMaskFilterImpl>(SkRRect::MakeRectXY(rect1, xRad1, yRad1), in CreateProc()
/external/skia/src/effects/
DSkRRectsGaussianEdgeMaskFilter.cpp533 SkRect rect1, rect2; in CreateProc() local
535 buf.readRect(&rect1); in CreateProc()
545 return sk_make_sp<SkRRectsGaussianEdgeMaskFilterImpl>(SkRRect::MakeRectXY(rect1, xRad1, yRad1), in CreateProc()
/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.java348 RectF rect1 = new RectF(5f, 6f, 7f, 8f); in drawRect_shouldRecordRectHistoryEvents() local
365 assertThat(shadowCanvas.getDrawnRect(1).rect).isEqualTo(rect1); in drawRect_shouldRecordRectHistoryEvents()
/external/pdfium/fpdfsdk/
Dfpdfedit_embeddertest.cpp610 FPDF_PAGEOBJECT rect1 = FPDFPageObj_CreateNewRect(10, 10, 100, 100); in TEST_F() local
611 FPDFPageObj_SetBlendMode(rect1, "Color"); in TEST_F()
612 FPDFPage_InsertObject(page.get(), rect1); in TEST_F()

12