Home
last modified time | relevance | path

Searched refs:rcPreObj (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/src/reflow/
Dautoreflow.cpp430 CFX_FloatRect rcPreObj(pPreObj->m_Left, pPreObj->m_Bottom, pPreObj->m_Right, pPreObj->m_Top); in LogicPreObj() local
432 if(rcPreObj.Contains(rcCurObj)) { in LogicPreObj()
435 if(rcCurObj.Contains(rcPreObj)) { in LogicPreObj()
441 if(!((rcPreObj.bottom > rcCurObj.top) || (rcPreObj.top < rcCurObj.bottom))) { in LogicPreObj()
442 FX_FLOAT height = FX_MIN(rcPreObj.Height(), rcCurObj.Height()); in LogicPreObj()
443 if((rcCurObj.left - rcPreObj.right) > height / 3) { in LogicPreObj()
447 …if(FXSYS_fabs(rcPreObj.Width() - rcCurObj.Width()) >= 2 || FXSYS_fabs(rcPreObj.Height() - rcCurObj… in LogicPreObj()
472 if(rcPreObj.left == rcCurObj.left && rcPreObj.top == rcCurObj.top) { in LogicPreObj()
475 if(FXSYS_fabs(rcPreObj.left - rcCurObj.left) < rcPreObj.Width() / 3 in LogicPreObj()
476 && FXSYS_fabs(rcPreObj.top - rcCurObj.top) < rcPreObj.Height() / 3) { in LogicPreObj()
Dlayoutprocessor_reflow.cpp1252 CFX_FloatRect rcPreObj(pPreObj->m_Left, pPreObj->m_Bottom, pPreObj->m_Right, pPreObj->m_Top); in LogicPreObj() local
1254 if(rcPreObj.Contains(rcCurObj)) { in LogicPreObj()
1257 if(rcCurObj.Contains(rcPreObj)) { in LogicPreObj()
1263 if(!((rcPreObj.bottom > rcCurObj.top) || (rcPreObj.top < rcCurObj.bottom))) { in LogicPreObj()
1264 FX_FLOAT height = FX_MIN(rcPreObj.Height(), rcCurObj.Height()); in LogicPreObj()
1265 if((rcCurObj.left - rcPreObj.right) > height / 3) { in LogicPreObj()
1269 …if(FXSYS_fabs(rcPreObj.Width() - rcCurObj.Width()) >= 2 || FXSYS_fabs(rcPreObj.Height() - rcCurObj… in LogicPreObj()
1294 if(rcPreObj.left == rcCurObj.left && rcPreObj.top == rcCurObj.top) { in LogicPreObj()
1297 if(FXSYS_fabs(rcPreObj.left - rcCurObj.left) < rcPreObj.Width() / 3 in LogicPreObj()
1298 && FXSYS_fabs(rcPreObj.top - rcCurObj.top) < rcPreObj.Height() / 3) { in LogicPreObj()
[all …]
/external/pdfium/core/src/fpdftext/
Dfpdf_text_search.cpp32 …CFX_FloatRect rcPreObj(pTextObj2->m_Left, pTextObj2->m_Bottom, pTextObj2->m_Right, pTextObj2->m_To… in FPDFText_IsSameTextObject() local
34 if (rcPreObj.IsEmpty() && rcCurObj.IsEmpty()) { in FPDFText_IsSameTextObject()
37 if (!rcPreObj.IsEmpty() || !rcCurObj.IsEmpty()) { in FPDFText_IsSameTextObject()
38 rcPreObj.Intersect(rcCurObj); in FPDFText_IsSameTextObject()
39 if (rcPreObj.IsEmpty()) { in FPDFText_IsSameTextObject()
42 if (FXSYS_fabs(rcPreObj.Width() - rcCurObj.Width()) > rcCurObj.Width() / 2) { in FPDFText_IsSameTextObject()
Dfpdf_text_int.cpp2055 …CFX_FloatRect rcPreObj(pTextObj2->m_Left, pTextObj2->m_Bottom, pTextObj2->m_Right, pTextObj2->m_To… local
2057 if (rcPreObj.IsEmpty() && rcCurObj.IsEmpty() && !m_ParseOptions.m_bGetCharCodeOnly) {
2058 FX_FLOAT dbXdif = FXSYS_fabs(rcPreObj.left - rcCurObj.left);
2068 if (!rcPreObj.IsEmpty() || !rcCurObj.IsEmpty()) {
2069 rcPreObj.Intersect(rcCurObj);
2070 if (rcPreObj.IsEmpty()) {
2073 if (FXSYS_fabs(rcPreObj.Width() - rcCurObj.Width()) > rcCurObj.Width() / 2) {
2095 FX_MAX(FX_MAX(rcPreObj.Height() , rcPreObj.Width()), pTextObj2->GetFontSize()) / 8) {