Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/src/formfiller/
DFFL_Utils.cpp12 CPDF_Rect CFFL_Utils::MaxRect(const CPDF_Rect & rect1,const CPDF_Rect & rect2) in MaxRect() argument
16 rcRet.left = std::min(rect1.left, rect2.left); in MaxRect()
17 rcRet.bottom = std::min(rect1.bottom, rect2.bottom); in MaxRect()
18 rcRet.right = std::max(rect1.right, rect2.right); in MaxRect()
19 rcRet.top = std::max(rect1.top, rect2.top); in MaxRect()
/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/pdfium/core/src/fxcrt/
Dfx_basic_coords.cpp159 CFX_FloatRect rect1 = *this; in GetOutterRect() local
161 rect.left = (int)FXSYS_floor(rect1.left); in GetOutterRect()
162 rect.right = (int)FXSYS_ceil(rect1.right); in GetOutterRect()
163 rect.top = (int)FXSYS_floor(rect1.bottom); in GetOutterRect()
164 rect.bottom = (int)FXSYS_ceil(rect1.top); in GetOutterRect()
170 CFX_FloatRect rect1 = *this; in GetInnerRect() local
172 rect.left = (int)FXSYS_ceil(rect1.left); in GetInnerRect()
173 rect.right = (int)FXSYS_floor(rect1.right); in GetInnerRect()
174 rect.top = (int)FXSYS_ceil(rect1.bottom); in GetInnerRect()
175 rect.bottom = (int)FXSYS_floor(rect1.top); in GetInnerRect()
[all …]
/external/skia/gm/
Dclipdrawdraw.cpp51 const SkRect rect1 = SkRect::MakeLTRB(136.5f, 137.5f, 338.5f, 293.5f); in onDraw() local
57 Draw(canvas, rect1); in onDraw()
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/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/tests/
DPathOpsCubicIntersectionTest.cpp477 SkDRect rect1, rect2; in CubicIntersection_RandTest() local
478 rect1.setBounds(cubic1); in CubicIntersection_RandTest()
480 bool boundsIntersect = rect1.fLeft <= rect2.fRight && rect2.fLeft <= rect2.fRight in CubicIntersection_RandTest()
481 && rect1.fTop <= rect2.fBottom && rect2.fTop <= rect1.fBottom; in CubicIntersection_RandTest()
DWriter32Test.cpp194 const SkRect rect1 = SkRect::MakeXYWH(1, 2, 3, 4); in testOverwriteT() local
202 writer->writeRect(rect1); in testOverwriteT()
210 REPORTER_ASSERT(reporter, writer->readTAt<SkRect>(padding + sizeof(uint32_t)) == rect1); in testOverwriteT()
DPictureTest.cpp899 SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(4), SkIntToScalar(4), in test_clip_bound_opt() local
907 invPath.addOval(rect1); in test_clip_bound_opt()
/external/pdfium/fpdfsdk/include/formfiller/
DFFL_Utils.h18 static CPDF_Rect MaxRect(const CPDF_Rect & rect1,const CPDF_Rect & rect2);
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h112 static FX_BOOL IntersectRect(const CPDF_Rect& rect1, const CPDF_Rect& rect2);
119 static CPDF_Rect MaxRect(const CPDF_Rect & rect1,const CPDF_Rect & rect2);
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Utils.cpp72 CPDF_Rect CPWL_Utils::MaxRect(const CPDF_Rect & rect1,const CPDF_Rect & rect2) in MaxRect() argument
76 rcRet.left = PWL_MIN(rect1.left,rect2.left); in MaxRect()
77 rcRet.bottom = PWL_MIN(rect1.bottom,rect2.bottom); in MaxRect()
78 rcRet.right = PWL_MAX(rect1.right,rect2.right); in MaxRect()
79 rcRet.top = PWL_MAX(rect1.top,rect2.top); in MaxRect()
96 FX_BOOL CPWL_Utils::IntersectRect(const CPDF_Rect& rect1, const CPDF_Rect& rect2) in IntersectRect() argument
98 FX_FLOAT left = rect1.left > rect2.left ? rect1.left : rect2.left; in IntersectRect()
99 FX_FLOAT right = rect1.right < rect2.right ? rect1.right : rect2.right; in IntersectRect()
100 FX_FLOAT bottom = rect1.bottom > rect2.bottom ? rect1.bottom : rect2.bottom; in IntersectRect()
101 FX_FLOAT top = rect1.top < rect2.top ? rect1.top : rect2.top; in IntersectRect()
/external/pdfium/core/src/fpdftext/
Dtext_int.h94 static FX_BOOL IsRectIntersect(const CFX_FloatRect& rect1, const CFX_FloatRect& rect2);
Dfpdf_text_int.cpp2025 CFX_FloatRect rect1(m_pPreTextObj->m_Left, pObj->m_Bottom, m_pPreTextObj->m_Right, pObj->m_Top); in ProcessInsertObject() local
2027 CFX_FloatRect rect3 = rect1; in ProcessInsertObject()
2028 rect1.Intersect(rect2); in ProcessInsertObject()
2030 if ((rect1.IsEmpty() && rect2.Height() > 5 && rect3.Height() > 5) in ProcessInsertObject()
2210 FX_BOOL CPDF_TextPage::IsRectIntersect(const CFX_FloatRect& rect1, const CFX_FloatRect& rect2) in IsRectIntersect() argument
2212 CFX_FloatRect rect = rect1; in IsRectIntersect()
/external/libvncserver/libvncserver/
Drfbserver.c3053 sraRect rect1; in rfbSendCopyRegion() local
3062 while(sraRgnIteratorNext(i,&rect1)) { in rfbSendCopyRegion()
3063 x = rect1.x1; in rfbSendCopyRegion()
3064 y = rect1.y1; in rfbSendCopyRegion()
3065 w = rect1.x2 - x; in rfbSendCopyRegion()
3066 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 ...