Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dfx_basic_coords.cpp162 CFX_FloatRect rect1 = *this; in GetOuterRect() local
164 rect.left = (int)FXSYS_floor(rect1.left); in GetOuterRect()
165 rect.right = (int)FXSYS_ceil(rect1.right); in GetOuterRect()
166 rect.top = (int)FXSYS_floor(rect1.bottom); in GetOuterRect()
167 rect.bottom = (int)FXSYS_ceil(rect1.top); in GetOuterRect()
173 CFX_FloatRect rect1 = *this; in GetInnerRect() local
175 rect.left = (int)FXSYS_ceil(rect1.left); in GetInnerRect()
176 rect.right = (int)FXSYS_floor(rect1.right); in GetInnerRect()
177 rect.top = (int)FXSYS_ceil(rect1.bottom); in GetInnerRect()
178 rect.bottom = (int)FXSYS_floor(rect1.top); in GetInnerRect()
[all …]
/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/opencv/cv/src/
Dcvgeometry.cpp45 cvMaxRect( const CvRect* rect1, const CvRect* rect2 ) in cvMaxRect() argument
47 if( rect1 && rect2 ) in cvMaxRect()
52 max_rect.x = a = rect1->x; in cvMaxRect()
57 max_rect.width = a += rect1->width; in cvMaxRect()
64 max_rect.y = a = rect1->y; in cvMaxRect()
69 max_rect.height = a += rect1->height; in cvMaxRect()
77 else if( rect1 ) in cvMaxRect()
78 return *rect1; in cvMaxRect()
/external/skia/gm/
Dclipdrawdraw.cpp43 const SkRect rect1 = SkRect::MakeLTRB(136.5f, 137.5f, 338.5f, 293.5f); variable
49 Draw(canvas, rect1);
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, flag});
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/pdfium/xfa/fxbarcode/oned/
DBC_OnedEAN13Writer.cpp204 CFX_FloatRect rect1( in ShowChars() local
211 matr1.TransformRect(rect1); in ShowChars()
212 re = rect1.GetOuterRect(); in ShowChars()
256 FX_RECT rect1(0, 0, strWidth, iTextHeight); in ShowChars() local
257 ge.FillRect(&rect1, m_backgroundColor); in ShowChars()
DBC_OnedEAN8Writer.cpp205 CFX_FloatRect rect1( in ShowChars() local
211 matr1.TransformRect(rect1); in ShowChars()
212 re = rect1.GetOuterRect(); in ShowChars()
DBC_OnedUPCAWriter.cpp158 CFX_FloatRect rect1( in ShowChars() local
164 matr1.TransformRect(rect1); in ShowChars()
165 re = rect1.GetOuterRect(); in ShowChars()
/external/skia/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.cpp620 SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(4), SkIntToScalar(4), in test_clip_bound_opt() local
628 invPath.addOval(rect1); in test_clip_bound_opt()
/external/skia/src/effects/
DSkRRectsGaussianEdgeMaskFilter.cpp517 SkRect rect1, rect2; in CreateProc() local
519 buf.readRect(&rect1); in CreateProc()
529 return sk_make_sp<SkRRectsGaussianEdgeMaskFilterImpl>(SkRRect::MakeRectXY(rect1, xRad1, yRad1), in CreateProc()
/external/pdfium/core/fpdftext/
Dcpdf_textpage.h111 static bool IsRectIntersect(const CFX_FloatRect& rect1,
Dcpdf_textpage.cpp1328 CFX_FloatRect rect1(m_pPreTextObj->m_Left, pObj->m_Bottom, in ProcessInsertObject() local
1331 CFX_FloatRect rect3 = rect1; in ProcessInsertObject()
1332 rect1.Intersect(rect2); in ProcessInsertObject()
1333 if ((rect1.IsEmpty() && rect2.Height() > 5 && rect3.Height() > 5) || in ProcessInsertObject()
1518 bool CPDF_TextPage::IsRectIntersect(const CFX_FloatRect& rect1, in IsRectIntersect() argument
1520 CFX_FloatRect rect = rect1; in IsRectIntersect()
/external/libvncserver/libvncserver/
Drfbserver.c3188 sraRect rect1; in rfbSendCopyRegion() local
3197 while(sraRgnIteratorNext(i,&rect1)) { in rfbSendCopyRegion()
3198 x = rect1.x1; in rfbSendCopyRegion()
3199 y = rect1.y1; in rfbSendCopyRegion()
3200 w = rect1.x2 - x; in rfbSendCopyRegion()
3201 h = rect1.y2 - y; in rfbSendCopyRegion()
/external/opencv/cv/include/
Dcv.h801 CVAPI(CvRect) cvMaxRect( const CvRect* rect1, const CvRect* rect2 ); in LOAD_CHDL()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...