Home
last modified time | relevance | path

Searched refs:FXSYS_Div (Results 1 – 14 of 14) sorted by relevance

/external/pdfium/third_party/agg23/
Dagg_clip_liang_barsky.h53 FX_FLOAT tinx = FXSYS_Div(xin - x1, deltax); in clip_liang_barsky()
65 FX_FLOAT tiny = FXSYS_Div(yin - y1, deltay); in clip_liang_barsky()
81 FX_FLOAT toutx = FXSYS_Div(xout - x1, deltax); in clip_liang_barsky()
82 FX_FLOAT touty = FXSYS_Div(yout - y1, deltay); in clip_liang_barsky()
Dagg_math_stroke.h61 da = FXSYS_acos(FXSYS_Div(width, width + FXSYS_Div(1.0f / 8, approximation_scale))) * 2; in stroke_calc_arc()
155 FX_FLOAT dx1 = FXSYS_Div(v1.y - v0.y, len); in stroke_calc_cap()
156 FX_FLOAT dy1 = FXSYS_Div(v1.x - v0.x, len); in stroke_calc_cap()
171 FX_FLOAT da = FXSYS_acos(FXSYS_Div(width, width + in stroke_calc_cap()
172 FXSYS_Div(1.0f / 8, approximation_scale))) * 2; in stroke_calc_cap()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp87 FX_FLOAT scale = FXSYS_Div( in DrawAxialShading()
195 s = FXSYS_Div(-c, b); in DrawRadialShading()
204 s1 = FXSYS_Div(-b - root, 2 * a); in DrawRadialShading()
205 s2 = FXSYS_Div(-b + root, 2 * a); in DrawRadialShading()
207 s2 = FXSYS_Div(-b - root, 2 * a); in DrawRadialShading()
208 s1 = FXSYS_Div(-b + root, 2 * a); in DrawRadialShading()
1051 FXSYS_Div(clip_box_p.left - pPattern->m_BBox.right, pPattern->m_XStep)); in DrawTilingPattern()
1053 FXSYS_Div(clip_box_p.right - pPattern->m_BBox.left, pPattern->m_XStep)); in DrawTilingPattern()
1055 FXSYS_Div(clip_box_p.bottom - pPattern->m_BBox.top, pPattern->m_YStep)); in DrawTilingPattern()
1057 FXSYS_Div(clip_box_p.top - pPattern->m_BBox.bottom, pPattern->m_YStep)); in DrawTilingPattern()
/external/pdfium/xfa/src/fxgraphics/src/
Dpre.h10 #define FXSYS_Div(a, b) ((a) / (b)) macro
Dfx_path_generator.cpp122 FX_FLOAT tx = FXSYS_Div((1.0f - x0) * 4, 3 * 1.0f); in ArcTo()
123 FX_FLOAT ty = y0 - FXSYS_Div(FXSYS_Mul(tx, x0), y0); in ArcTo()
Dfx_graphics.cpp981 FX_FLOAT scale = FXSYS_Div( in FillPathWithShading()
1021 s = (FXSYS_Div(-c, b)); in FillPathWithShading()
1030 s1 = FXSYS_Div(-b - root, 2 * a); in FillPathWithShading()
1031 s2 = FXSYS_Div(-b + root, 2 * a); in FillPathWithShading()
1033 s2 = FXSYS_Div(-b - root, 2 * a); in FillPathWithShading()
1034 s1 = FXSYS_Div(-b + root, 2 * a); in FillPathWithShading()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_engine.cpp23 scale = FXSYS_Div((FX_FLOAT)(src_len), (FX_FLOAT)(dest_len)); in Calc()
191 double dest_start = FXSYS_Div((FX_FLOAT)(j)-base, scale); in Calc()
192 double dest_end = FXSYS_Div((FX_FLOAT)(j + 1) - base, scale); in Calc()
273 double scale_x = FXSYS_Div((FX_FLOAT)(m_SrcWidth), (FX_FLOAT)(m_DestWidth)); in CStretchEngine()
274 double scale_y = FXSYS_Div((FX_FLOAT)(m_SrcHeight), (FX_FLOAT)(m_DestHeight)); in CStretchEngine()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page.cpp1000 display_matrix.Set(FXSYS_Div((FX_FLOAT)(x2 - x0), m_PageWidth), in GetDisplayMatrix()
1001 FXSYS_Div((FX_FLOAT)(y2 - y0), m_PageWidth), in GetDisplayMatrix()
1002 FXSYS_Div((FX_FLOAT)(x1 - x0), m_PageHeight), in GetDisplayMatrix()
1003 FXSYS_Div((FX_FLOAT)(y1 - y0), m_PageHeight), (FX_FLOAT)x0, in GetDisplayMatrix()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_path.cpp266 start_k = FXSYS_Div(middle_y - start_y, middle_x - start_x); in _UpdateLineJoinPoints()
273 end_k = FXSYS_Div(end_y - middle_y, end_x - middle_x); in _UpdateLineJoinPoints()
334 FX_FLOAT join_x = FXSYS_Div(end_outside_c - start_outside_c, start_k - end_k); in _UpdateLineJoinPoints()
/external/pdfium/core/include/fxcrt/
Dfx_system.h275 #define FXSYS_Div(a, b) ((a) / (b)) macro
/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp153 FXSYS_Div((FX_FLOAT)(src_width * src_height), dest_area); in Transform1bppBitmap()
Dfx_win32_gdipext.cpp977 ? FXSYS_Div(1.0f, (pMatrix->GetXUnit() + pMatrix->GetYUnit()) / 2) in _GdipCreatePen()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_progress.cpp21 scale = FXSYS_Div((FX_FLOAT)(src_len), (FX_FLOAT)(dest_len)); in Calc()
91 double dest_start = FXSYS_Div((FX_FLOAT)(j)-base, scale); in Calc()
92 double dest_end = FXSYS_Div((FX_FLOAT)(j + 1) - base, scale); in Calc()
/external/pdfium/core/src/fxge/agg/src/
Dfx_agg_driver.cpp147 unit = FXSYS_Div( in RasterizeStroke()