Searched refs:FXSYS_fabs (Results 1 - 25 of 32) sorted by relevance

12

/external/pdfium/core/fpdfapi/page/
H A Dcpdf_tilingpattern.cpp44 m_XStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumberFor("XStep"));
45 m_YStep = (FX_FLOAT)FXSYS_fabs(pDict->GetNumberFor("YStep"));
H A Dcpdf_textstate.cpp142 return FXSYS_fabs(FXSYS_sqrt2(m_Matrix[1], m_Matrix[3]) * m_FontSize);
146 return FXSYS_fabs(FXSYS_sqrt2(m_Matrix[0], m_Matrix[2]) * m_FontSize);
/external/pdfium/third_party/agg23/
H A Dagg_curves.cpp64 FX_FLOAT d2 = FXSYS_fabs(((x2 - x4) * dy) - ((y2 - y4) * dx));
65 FX_FLOAT d3 = FXSYS_fabs(((x3 - x4) * dy) - ((y3 - y4) * dx));
69 if(FXSYS_fabs(x1 + x3 - x2 - x2) +
70 FXSYS_fabs(y1 + y3 - y2 - y2) +
71 FXSYS_fabs(x2 + x4 - x3 - x3) +
72 FXSYS_fabs(y2 + y4 - y3 - y3) <= m_distance_tolerance_manhattan) {
H A Dagg_math.h55 if (FXSYS_fabs(den) < intersection_epsilon) {
H A Dagg_vcgen_dash.cpp58 calc_dash_start(FXSYS_fabs(ds));
/external/pdfium/core/fpdfapi/render/
H A Dcpdf_type3glyphs.cpp25 FX_FLOAT distance = FXSYS_fabs(pos - static_cast<FX_FLOAT>(blues[i]));
H A Dcpdf_devicebuffer.cpp47 m_Matrix.Concat(CFX_Matrix(FXSYS_fabs(ctm.a), 0, 0, FXSYS_fabs(ctm.d), 0, 0));
H A Dcpdf_type3cache.cpp132 if (FXSYS_fabs(image_matrix.b) < FXSYS_fabs(image_matrix.a) / 100 &&
133 FXSYS_fabs(image_matrix.c) < FXSYS_fabs(image_matrix.d) / 100) {
H A Dcpdf_imagerenderer.cpp432 if ((FXSYS_fabs(m_ImageMatrix.b) >= 0.5f || m_ImageMatrix.a == 0) ||
433 (FXSYS_fabs(m_ImageMatrix.c) >= 0.5f || m_ImageMatrix.d == 0)) {
509 if (FXSYS_fabs(m_ImageMatrix.b) >= 0.5f ||
510 FXSYS_fabs(m_ImageMatrix.c) >= 0.5f) {
H A Dcpdf_renderstatus.cpp1131 FX_FLOAT a = FXSYS_fabs(dCTM.a);
1132 FX_FLOAT d = FXSYS_fabs(dCTM.d);
1197 matrix.a *= FXSYS_fabs(dCTM.a);
1198 matrix.d *= FXSYS_fabs(dCTM.d);
1535 FX_FLOAT scaleX = FXSYS_fabs(deviceCTM.a);
1536 FX_FLOAT scaleY = FXSYS_fabs(deviceCTM.d);
1629 FX_FLOAT scaleX = FXSYS_fabs(deviceCTM.a);
1630 FX_FLOAT scaleY = FXSYS_fabs(deviceCTM.d);
1811 FX_FLOAT sa = FXSYS_fabs(dCTM.a);
1812 FX_FLOAT sd = FXSYS_fabs(dCT
[all...]
/external/pdfium/xfa/fde/css/
H A Dcfde_cssnumbervalue.cpp11 if (type_ == FDE_CSSNumberType::Number && FXSYS_fabs(value_) < 0.001f)
/external/pdfium/xfa/fxfa/parser/
H A Dcxfa_stroke.cpp91 if (FXSYS_fabs(GetThickness() - stroke.GetThickness()) >= 0.01f)
102 FXSYS_fabs(GetRadius() - stroke.GetRadius()) >= 0.01f) {
/external/pdfium/core/fxcrt/
H A Dfx_basic_coords.cpp20 FX_FLOAT error1 = f1 - i1_1 + (FX_FLOAT)FXSYS_fabs(f2 - i1_1 - length);
21 FX_FLOAT error2 = i1_2 - f1 + (FX_FLOAT)FXSYS_fabs(f2 - i1_2 - length);
234 if (FXSYS_fabs(i) == 0)
257 return FXSYS_fabs(a * 1000) < FXSYS_fabs(b) &&
258 FXSYS_fabs(d * 1000) < FXSYS_fabs(c);
262 return FXSYS_fabs(b * 1000) < FXSYS_fabs(a) &&
263 FXSYS_fabs(
[all...]
H A Dfx_basic_util.cpp211 if (FXSYS_fabs(det) < 0.0000001)
H A Dfx_system.h258 #define FXSYS_fabs(a) (FX_FLOAT) fabs(a) macro
/external/pdfium/core/fpdftext/
H A Dcpdf_textpage.cpp326 curXdif = FXSYS_fabs(point.x - charrect.left) <
327 FXSYS_fabs(point.x - charrect.right)
328 ? FXSYS_fabs(point.x - charrect.left)
329 : FXSYS_fabs(point.x - charrect.right);
330 curYdif = FXSYS_fabs(point.y - charrect.bottom) <
331 FXSYS_fabs(point.y - charrect.top)
332 ? FXSYS_fabs(point.y - charrect.bottom)
333 : FXSYS_fabs(point.y - charrect.top);
356 if (FXSYS_fabs(posy - charinfo.m_Origin.y) > 0 && !IsContainPreChar &&
747 if (FXSYS_fabs(pTextOb
[all...]
/external/pdfium/xfa/fde/
H A Dcfde_path.cpp49 if (FXSYS_fabs(beta - alpha) > FX_PI) {
159 if (points.empty() || FXSYS_fabs(points.back().m_Point.x - pt1.x) > 0.001 ||
160 FXSYS_fabs(points.back().m_Point.y - pt1.y) > 0.001) {
185 if (FXSYS_fabs(p[0].x - p[iCount - 1].x) < 0.01f ||
186 FXSYS_fabs(p[0].y - p[iCount - 1].y) < 0.01f) {
/external/pdfium/core/fxge/ge/
H A Dcfx_pathdata.cpp74 bool bStartVert = FXSYS_fabs(start_pos.x - mid_pos.x) < one_twentieth;
75 bool bEndVert = FXSYS_fabs(mid_pos.x - end_pos.x) < one_twentieth;
90 FXSYS_fabs(half_width * start_len / start_to_mid.x));
98 static_cast<FX_FLOAT>(FXSYS_fabs(half_width * end_len / end_to_mid.x));
132 if (FXSYS_fabs(start_k - end_k) < one_twentieth) {
363 if (FXSYS_fabs(m_Points[i].m_Point.y - m_Points[i - 1].m_Point.y) <
364 FXSYS_fabs(m_Points[i].m_Point.y - m_Points[next].m_Point.y)) {
378 if (FXSYS_fabs(m_Points[i].m_Point.x - m_Points[i - 1].m_Point.x) <
379 FXSYS_fabs(m_Points[i].m_Point.x - m_Points[next].m_Point.x)) {
H A Dcfx_renderdevice.cpp47 FXSYS_fabs(space_f) - FXSYS_fabs(static_cast<FX_FLOAT>(space));
611 FX_FLOAT fScaleX = FXSYS_fabs(ctm.a);
612 FX_FLOAT fScaleY = FXSYS_fabs(ctm.d);
717 FX_FLOAT fScaleX = FXSYS_fabs(ctm.a);
718 FX_FLOAT fScaleY = FXSYS_fabs(ctm.d);
881 if (FXSYS_fabs(char2device.a) + FXSYS_fabs(char2device.b) > 50 * 1.0f ||
919 FX_FLOAT scale_x = FXSYS_fabs(matrixCTM.a);
920 FX_FLOAT scale_y = FXSYS_fabs(matrixCT
[all...]
/external/pdfium/core/fxge/win32/
H A Dfx_win32_print.cpp174 if (FXSYS_fabs(pMatrix->b) < 0.5f && pMatrix->a != 0 &&
175 FXSYS_fabs(pMatrix->c) < 0.5f && pMatrix->d != 0) {
185 if (FXSYS_fabs(pMatrix->a) >= 0.5f || FXSYS_fabs(pMatrix->d) >= 0.5f)
H A Dcfx_psrenderer.cpp537 (FXSYS_fabs(pPSFont->m_Glyphs[j].m_AdjustMatrix[0] -
539 FXSYS_fabs(pPSFont->m_Glyphs[j].m_AdjustMatrix[1] -
541 FXSYS_fabs(pPSFont->m_Glyphs[j].m_AdjustMatrix[2] -
543 FXSYS_fabs(pPSFont->m_Glyphs[j].m_AdjustMatrix[3] -
H A Dfx_win32_device.cpp97 scale = FXSYS_fabs(pMatrix->a) > FXSYS_fabs(pMatrix->b)
98 ? FXSYS_fabs(pMatrix->a)
99 : FXSYS_fabs(pMatrix->b);
/external/pdfium/core/fxge/dib/
H A Dfx_dib_transform.cpp367 if (FXSYS_fabs(m_pMatrix->a) < FXSYS_fabs(m_pMatrix->b) / 20 &&
368 FXSYS_fabs(m_pMatrix->d) < FXSYS_fabs(m_pMatrix->c) / 20 &&
369 FXSYS_fabs(m_pMatrix->a) < 0.5f && FXSYS_fabs(m_pMatrix->d) < 0.5f) {
381 if (FXSYS_fabs(m_pMatrix->b) < FIX16_005 &&
382 FXSYS_fabs(m_pMatrix->c) < FIX16_005) {
H A Dfx_dib_main.cpp1512 if ((FXSYS_fabs(m_Matrix.b) >= 0.5f || m_Matrix.a == 0) ||
1513 (FXSYS_fabs(m_Matrix.c) >= 0.5f || m_Matrix.d == 0)) {
1514 if (FXSYS_fabs(m_Matrix.a) < FXSYS_fabs(m_Matrix.b) / 20 &&
1515 FXSYS_fabs(m_Matrix.d) < FXSYS_fabs(m_Matrix.c) / 20 &&
1516 FXSYS_fabs(m_Matrix.a) < 0.5f && FXSYS_fabs(m_Matrix.d) < 0.5f) {
H A Dfx_dib_engine.cpp64 (int)(sizeof(int) * (FXSYS_ceil(FXSYS_fabs((FX_FLOAT)scale)) + ext_size));
74 if ((flags & FXDIB_NOSMOOTH) != 0 || FXSYS_fabs((FX_FLOAT)scale) < 1.0f) {

Completed in 484 milliseconds

12