Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/agg/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()
Dfx_agg_driver.cpp151 unit = FXSYS_Div(1.0f, (pObject2Device->GetXUnit() + pObject2Device->GetYUnit()) / 2); in RasterizeStroke()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp79 …FX_FLOAT scale = FXSYS_Div(FXSYS_Mul(x - start_x, x_span) + FXSYS_Mul(y - start_y, y_span), axis_l… in _DrawAxialShading()
176 s = FXSYS_Div(-c, b); in _DrawRadialShading()
185 s1 = FXSYS_Div(-b - root, 2 * a); in _DrawRadialShading()
186 s2 = FXSYS_Div(-b + root, 2 * a); in _DrawRadialShading()
188 s2 = FXSYS_Div(-b - root, 2 * a); in _DrawRadialShading()
189 s1 = FXSYS_Div(-b + root, 2 * a); in _DrawRadialShading()
968 … min_col = (int)FXSYS_ceil(FXSYS_Div(clip_box_p.left - pPattern->m_BBox.right, pPattern->m_XStep)); in DrawTilingPattern()
969 …max_col = (int)FXSYS_floor(FXSYS_Div(clip_box_p.right - pPattern->m_BBox.left, pPattern->m_XStep)); in DrawTilingPattern()
970 … min_row = (int)FXSYS_ceil(FXSYS_Div(clip_box_p.bottom - pPattern->m_BBox.top, pPattern->m_YStep)); in DrawTilingPattern()
971 …max_row = (int)FXSYS_floor(FXSYS_Div(clip_box_p.top - pPattern->m_BBox.bottom, pPattern->m_YStep)); in DrawTilingPattern()
/external/pdfium/core/src/reflow/
Dreflowedpage.cpp194 display_matrix.Set(FXSYS_Div((FX_FLOAT)(x2 - x0), m_PageWidth), in GetDisplayMatrix()
195 FXSYS_Div((FX_FLOAT)(y2 - y0), m_PageWidth), in GetDisplayMatrix()
196 FXSYS_Div((FX_FLOAT)(x1 - x0), m_PageHeight), in GetDisplayMatrix()
197 FXSYS_Div((FX_FLOAT)(y1 - y0), m_PageHeight), in GetDisplayMatrix()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_engine.cpp19 scale = FXSYS_Div((FX_FLOAT)(src_len), (FX_FLOAT)(dest_len)); in Calc()
160 double dest_start = FXSYS_Div((FX_FLOAT)(j) - base, scale); in Calc()
161 double dest_end = FXSYS_Div((FX_FLOAT)(j + 1) - base, scale); in Calc()
231 double scale_x = FXSYS_Div((FX_FLOAT)(m_SrcWidth), (FX_FLOAT)(m_DestWidth)); in CStretchEngine()
232 double scale_y = FXSYS_Div((FX_FLOAT)(m_SrcHeight), (FX_FLOAT)(m_DestHeight)); in CStretchEngine()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page.cpp1016 display_matrix.Set(FXSYS_Div((FX_FLOAT)(x2 - x0), m_PageWidth), in GetDisplayMatrix()
1017 FXSYS_Div((FX_FLOAT)(y2 - y0), m_PageWidth), in GetDisplayMatrix()
1018 FXSYS_Div((FX_FLOAT)(x1 - x0), m_PageHeight), in GetDisplayMatrix()
1019 FXSYS_Div((FX_FLOAT)(y1 - y0), m_PageHeight), in GetDisplayMatrix()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_path.cpp268 start_k = FXSYS_Div(middle_y - start_y, middle_x - start_x); in _UpdateLineJoinPoints()
274 end_k = FXSYS_Div(end_y - middle_y, end_x - middle_x); in _UpdateLineJoinPoints()
333 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.h305 #define FXSYS_Div(a, b) ((a) / (b)) macro
/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp127 FX_FLOAT area_scale = FXSYS_Div((FX_FLOAT)(src_width * src_height), dest_area); in Transform1bppBitmap()
Dfx_win32_gdipext.cpp729 …FX_FLOAT unit = pMatrix == NULL ? 1.0f : FXSYS_Div(1.0f, (pMatrix->GetXUnit() + pMatrix->GetYUnit(… in _GdipCreatePen()