/external/pdfium/third_party/agg23/ |
D | agg_curves.cpp | 64 FX_FLOAT d2 = FXSYS_fabs(((x2 - x4) * dy) - ((y2 - y4) * dx)); in recursive_bezier() 65 FX_FLOAT d3 = FXSYS_fabs(((x3 - x4) * dy) - ((y3 - y4) * dx)); in recursive_bezier() 69 if(FXSYS_fabs(x1 + x3 - x2 - x2) + in recursive_bezier() 70 FXSYS_fabs(y1 + y3 - y2 - y2) + in recursive_bezier() 71 FXSYS_fabs(x2 + x4 - x3 - x3) + in recursive_bezier() 72 FXSYS_fabs(y2 + y4 - y3 - y3) <= m_distance_tolerance_manhattan) { in recursive_bezier()
|
D | agg_math.h | 55 if (FXSYS_fabs(den) < intersection_epsilon) { in calc_intersection()
|
D | agg_vcgen_dash.cpp | 58 calc_dash_start(FXSYS_fabs(ds)); in dash_start()
|
/external/pdfium/core/fxcrt/ |
D | fx_basic_coords.cpp | 20 FX_FLOAT error1 = f1 - i1_1 + (FX_FLOAT)FXSYS_fabs(f2 - i1_1 - length); in MatchFloatRange() 21 FX_FLOAT error2 = i1_2 - f1 + (FX_FLOAT)FXSYS_fabs(f2 - i1_2 - length); in MatchFloatRange() 234 if (FXSYS_fabs(i) == 0) in SetReverse() 257 return FXSYS_fabs(a * 1000) < FXSYS_fabs(b) && in Is90Rotated() 258 FXSYS_fabs(d * 1000) < FXSYS_fabs(c); in Is90Rotated() 262 return FXSYS_fabs(b * 1000) < FXSYS_fabs(a) && in IsScaled() 263 FXSYS_fabs(c * 1000) < FXSYS_fabs(d); in IsScaled() 318 a = FXSYS_fabs(fDiff) < 0.001f ? 1 : (dest.left - dest.right) / fDiff; in MatchRect() 321 d = FXSYS_fabs(fDiff) < 0.001f ? 1 : (dest.bottom - dest.top) / fDiff; in MatchRect()
|
D | fx_basic_util.cpp | 211 if (FXSYS_fabs(det) < 0.0000001) in Inverse()
|
D | fx_system.h | 258 #define FXSYS_fabs(a) (FX_FLOAT) fabs(a) macro
|
/external/pdfium/core/fpdftext/ |
D | cpdf_textpage.cpp | 326 curXdif = FXSYS_fabs(point.x - charrect.left) < in GetIndexAtPos() 327 FXSYS_fabs(point.x - charrect.right) in GetIndexAtPos() 328 ? FXSYS_fabs(point.x - charrect.left) in GetIndexAtPos() 329 : FXSYS_fabs(point.x - charrect.right); in GetIndexAtPos() 330 curYdif = FXSYS_fabs(point.y - charrect.bottom) < in GetIndexAtPos() 331 FXSYS_fabs(point.y - charrect.top) in GetIndexAtPos() 332 ? FXSYS_fabs(point.y - charrect.bottom) in GetIndexAtPos() 333 : FXSYS_fabs(point.y - charrect.top); in GetIndexAtPos() 356 if (FXSYS_fabs(posy - charinfo.m_Origin.y) > 0 && !IsContainPreChar && in GetTextByRect() 747 if (FXSYS_fabs(pTextObj->m_Right - pTextObj->m_Left) < 0.01f) in ProcessTextObject() [all …]
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_type3cache.cpp | 132 if (FXSYS_fabs(image_matrix.b) < FXSYS_fabs(image_matrix.a) / 100 && in RenderGlyph() 133 FXSYS_fabs(image_matrix.c) < FXSYS_fabs(image_matrix.d) / 100) { in RenderGlyph()
|
D | cpdf_devicebuffer.cpp | 47 m_Matrix.Concat(CFX_Matrix(FXSYS_fabs(ctm.a), 0, 0, FXSYS_fabs(ctm.d), 0, 0)); in Initialize()
|
D | cpdf_type3glyphs.cpp | 25 FX_FLOAT distance = FXSYS_fabs(pos - static_cast<FX_FLOAT>(blues[i])); in _AdjustBlue()
|
D | cpdf_imagerenderer.cpp | 432 if ((FXSYS_fabs(m_ImageMatrix.b) >= 0.5f || m_ImageMatrix.a == 0) || in StartDIBSource() 433 (FXSYS_fabs(m_ImageMatrix.c) >= 0.5f || m_ImageMatrix.d == 0)) { in StartDIBSource() 509 if (FXSYS_fabs(m_ImageMatrix.b) >= 0.5f || in StartBitmapAlpha() 510 FXSYS_fabs(m_ImageMatrix.c) >= 0.5f) { in StartBitmapAlpha()
|
D | cpdf_renderstatus.cpp | 1131 FX_FLOAT a = FXSYS_fabs(dCTM.a); in GetObjectClippedRect() 1132 FX_FLOAT d = FXSYS_fabs(dCTM.d); in GetObjectClippedRect() 1197 matrix.a *= FXSYS_fabs(dCTM.a); in GetScaledMatrix() 1198 matrix.d *= FXSYS_fabs(dCTM.d); in GetScaledMatrix() 1535 FX_FLOAT scaleX = FXSYS_fabs(deviceCTM.a); in ProcessTransparency() 1536 FX_FLOAT scaleY = FXSYS_fabs(deviceCTM.d); in ProcessTransparency() 1629 FX_FLOAT scaleX = FXSYS_fabs(deviceCTM.a); in GetBackdrop() 1630 FX_FLOAT scaleY = FXSYS_fabs(deviceCTM.d); in GetBackdrop() 1811 FX_FLOAT sa = FXSYS_fabs(dCTM.a); in ProcessType3Text() 1812 FX_FLOAT sd = FXSYS_fabs(dCTM.d); in ProcessType3Text() [all …]
|
/external/pdfium/core/fxge/ge/ |
D | cfx_pathdata.cpp | 74 bool bStartVert = FXSYS_fabs(start_pos.x - mid_pos.x) < one_twentieth; in UpdateLineJoinPoints() 75 bool bEndVert = FXSYS_fabs(mid_pos.x - end_pos.x) < one_twentieth; in UpdateLineJoinPoints() 90 FXSYS_fabs(half_width * start_len / start_to_mid.x)); in UpdateLineJoinPoints() 98 static_cast<FX_FLOAT>(FXSYS_fabs(half_width * end_len / end_to_mid.x)); in UpdateLineJoinPoints() 132 if (FXSYS_fabs(start_k - end_k) < one_twentieth) { in UpdateLineJoinPoints() 363 if (FXSYS_fabs(m_Points[i].m_Point.y - m_Points[i - 1].m_Point.y) < in GetZeroAreaPath() 364 FXSYS_fabs(m_Points[i].m_Point.y - m_Points[next].m_Point.y)) { in GetZeroAreaPath() 378 if (FXSYS_fabs(m_Points[i].m_Point.x - m_Points[i - 1].m_Point.x) < in GetZeroAreaPath() 379 FXSYS_fabs(m_Points[i].m_Point.x - m_Points[next].m_Point.x)) { in GetZeroAreaPath()
|
D | cfx_renderdevice.cpp | 47 FXSYS_fabs(space_f) - FXSYS_fabs(static_cast<FX_FLOAT>(space)); in AdjustGlyphSpace() 611 FX_FLOAT fScaleX = FXSYS_fabs(ctm.a); in DrawFillStrokePath() 612 FX_FLOAT fScaleY = FXSYS_fabs(ctm.d); in DrawFillStrokePath() 717 FX_FLOAT fScaleX = FXSYS_fabs(ctm.a); in SetDIBitsWithBlend() 718 FX_FLOAT fScaleY = FXSYS_fabs(ctm.d); in SetDIBitsWithBlend() 881 if (FXSYS_fabs(char2device.a) + FXSYS_fabs(char2device.b) > 50 * 1.0f || in DrawNormalText() 919 FX_FLOAT scale_x = FXSYS_fabs(matrixCTM.a); in DrawNormalText() 920 FX_FLOAT scale_y = FXSYS_fabs(matrixCTM.d); in DrawNormalText()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_tilingpattern.cpp | 44 m_XStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumberFor("XStep")); in Load() 45 m_YStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumberFor("YStep")); in Load()
|
D | cpdf_textstate.cpp | 142 return FXSYS_fabs(FXSYS_sqrt2(m_Matrix[1], m_Matrix[3]) * m_FontSize); in GetFontSizeV() 146 return FXSYS_fabs(FXSYS_sqrt2(m_Matrix[0], m_Matrix[2]) * m_FontSize); in GetFontSizeH()
|
/external/pdfium/xfa/fde/ |
D | cfde_path.cpp | 49 if (FXSYS_fabs(beta - alpha) > FX_PI) { in ArcTo() 159 if (points.empty() || FXSYS_fabs(points.back().m_Point.x - pt1.x) > 0.001 || in AddLine() 160 FXSYS_fabs(points.back().m_Point.y - pt1.y) > 0.001) { in AddLine() 185 if (FXSYS_fabs(p[0].x - p[iCount - 1].x) < 0.01f || in AddPolygon() 186 FXSYS_fabs(p[0].y - p[iCount - 1].y) < 0.01f) { in AddPolygon()
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_stroke.cpp | 91 if (FXSYS_fabs(GetThickness() - stroke.GetThickness()) >= 0.01f) in SameStyles() 102 FXSYS_fabs(GetRadius() - stroke.GetRadius()) >= 0.01f) { in SameStyles()
|
/external/pdfium/core/fxge/dib/ |
D | fx_dib_transform.cpp | 367 if (FXSYS_fabs(m_pMatrix->a) < FXSYS_fabs(m_pMatrix->b) / 20 && in Start() 368 FXSYS_fabs(m_pMatrix->d) < FXSYS_fabs(m_pMatrix->c) / 20 && in Start() 369 FXSYS_fabs(m_pMatrix->a) < 0.5f && FXSYS_fabs(m_pMatrix->d) < 0.5f) { in Start() 381 if (FXSYS_fabs(m_pMatrix->b) < FIX16_005 && in Start() 382 FXSYS_fabs(m_pMatrix->c) < FIX16_005) { in Start()
|
D | fx_dib_main.cpp | 1512 if ((FXSYS_fabs(m_Matrix.b) >= 0.5f || m_Matrix.a == 0) || in Start() 1513 (FXSYS_fabs(m_Matrix.c) >= 0.5f || m_Matrix.d == 0)) { in Start() 1514 if (FXSYS_fabs(m_Matrix.a) < FXSYS_fabs(m_Matrix.b) / 20 && in Start() 1515 FXSYS_fabs(m_Matrix.d) < FXSYS_fabs(m_Matrix.c) / 20 && in Start() 1516 FXSYS_fabs(m_Matrix.a) < 0.5f && FXSYS_fabs(m_Matrix.d) < 0.5f) { in Start()
|
D | fx_dib_engine.cpp | 64 (int)(sizeof(int) * (FXSYS_ceil(FXSYS_fabs((FX_FLOAT)scale)) + ext_size)); in Calc() 74 if ((flags & FXDIB_NOSMOOTH) != 0 || FXSYS_fabs((FX_FLOAT)scale) < 1.0f) { in Calc()
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_print.cpp | 174 if (FXSYS_fabs(pMatrix->b) < 0.5f && pMatrix->a != 0 && in StartDIBits() 175 FXSYS_fabs(pMatrix->c) < 0.5f && pMatrix->d != 0) { in StartDIBits() 185 if (FXSYS_fabs(pMatrix->a) >= 0.5f || FXSYS_fabs(pMatrix->d) >= 0.5f) in StartDIBits()
|
D | cfx_psrenderer.cpp | 537 (FXSYS_fabs(pPSFont->m_Glyphs[j].m_AdjustMatrix[0] - in FindPSFontGlyph() 539 FXSYS_fabs(pPSFont->m_Glyphs[j].m_AdjustMatrix[1] - in FindPSFontGlyph() 541 FXSYS_fabs(pPSFont->m_Glyphs[j].m_AdjustMatrix[2] - in FindPSFontGlyph() 543 FXSYS_fabs(pPSFont->m_Glyphs[j].m_AdjustMatrix[3] - in FindPSFontGlyph()
|
D | fx_win32_device.cpp | 97 scale = FXSYS_fabs(pMatrix->a) > FXSYS_fabs(pMatrix->b) in CreatePen() 98 ? FXSYS_fabs(pMatrix->a) in CreatePen() 99 : FXSYS_fabs(pMatrix->b); in CreatePen()
|
/external/pdfium/xfa/fde/css/ |
D | cfde_cssnumbervalue.cpp | 11 if (type_ == FDE_CSSNumberType::Number && FXSYS_fabs(value_) < 0.001f) in CFDE_CSSNumberValue()
|