Home
last modified time | relevance | path

Searched refs:FXSYS_sqrt (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/core/src/fxcrt/
Dfx_basic_coords.cpp395 return FXSYS_sqrt(a * a + b * b); in GetXUnit()
405 return FXSYS_sqrt(c * c + d * d); in GetYUnit()
421 FX_FLOAT A = FXSYS_sqrt(a * a + b * b); in GetUnitArea()
422 FX_FLOAT B = FXSYS_sqrt(c * c + d * d); in GetUnitArea()
424 FX_FLOAT C = FXSYS_sqrt(ac * ac + bd * bd); in GetUnitArea()
426 return FXSYS_sqrt(P * (P - A) * (P - B) * (P - C)) * 2; in GetUnitArea()
431 return FXSYS_sqrt(fx * fx + fy * fy); in TransformXDistance()
436 return FXSYS_round(FXSYS_sqrt(fx * fx + fy * fy)); in TransformXDistance()
441 return FXSYS_sqrt(fx * fx + fy * fy); in TransformYDistance()
446 return FXSYS_round(FXSYS_sqrt(fx * fx + fy * fy)); in TransformYDistance()
[all …]
/external/pdfium/core/src/reflow/
Dreflowedtextpage.cpp146 …return FXSYS_sqrt(FXSYS_pow(point.x - floatRect.right, 2) + FXSYS_pow(floatRect.bottom - point.y, … in _GetDistance()
149 …return FXSYS_sqrt(FXSYS_pow(point.x - floatRect.right, 2) + FXSYS_pow(point.y - floatRect.top, 2)); in _GetDistance()
152 …return FXSYS_sqrt(FXSYS_pow(floatRect.bottom - point.y, 2) + FXSYS_pow(floatRect.left - point.x, 2… in _GetDistance()
163 … return FXSYS_sqrt(FXSYS_pow(floatRect.left - point.x, 2) + FXSYS_pow(point.y - floatRect.top, 2)); in _GetDistance()
/external/pdfium/core/include/fxcrt/
Dfx_system.h273 #define FXSYS_sqrt(a) (FX_FLOAT)sqrt(a) macro
307 #define FXSYS_sqrt2(a, b) (FX_FLOAT)FXSYS_sqrt((a)*(a) + (b)*(b))
Dfx_coordinates.h158 return FXSYS_sqrt(FXT_PSV::x * FXT_PSV::x + FXT_PSV::y * FXT_PSV::y); in Length()
162 FX_FLOAT fLen = FXSYS_sqrt(FXT_PSV::x * FXT_PSV::x + FXT_PSV::y * FXT_PSV::y); in Normalize()
216 return dotProduct / (FX_FLOAT)FXSYS_sqrt(v1.SquareLength() * v2.SquareLength()); in Cosine()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp128 FX_FLOAT size_scale = FXSYS_sqrt(area_scale); in Transform1bppBitmap()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp160 …int length = (int)FXSYS_sqrt((FXSYS_Mul(start_x - end_x, start_x - end_x) + FXSYS_Mul(start_y - en… in _DrawRadialShading()
182 FX_FLOAT root = FXSYS_sqrt(b2_4ac); in _DrawRadialShading()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_func.cpp254 Push((FX_FLOAT)FXSYS_sqrt(d1)); in DoOperator()