Home
last modified time | relevance | path

Searched refs:FXSYS_MulDiv (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/core/src/fxge/agg/agg23/
Dagg_math.h47 return FXSYS_MulDiv(x - x2, dy, d) - FXSYS_MulDiv(y - y2, dx, d); in calc_line_point_distance()
58 *x = ax + FXSYS_MulDiv(bx - ax, num, den); in calc_intersection()
59 *y = ay + FXSYS_MulDiv(by - ay, num, den); in calc_intersection()
Dagg_math_stroke.h200 dx1 = FXSYS_MulDiv(width, v1.y - v0.y, len1); in stroke_calc_join()
201 dy1 = FXSYS_MulDiv(width, v1.x - v0.x, len1); in stroke_calc_join()
202 dx2 = FXSYS_MulDiv(width, v2.y - v1.y, len2); in stroke_calc_join()
203 dy2 = FXSYS_MulDiv(width, v2.x - v1.x, len2); in stroke_calc_join()
Dfx_agg_vcgen_stroke.cpp71 FX_FLOAT dx = FXSYS_MulDiv(v1.y - v0.y, width, len); in calc_butt_cap()
72 FX_FLOAT dy = FXSYS_MulDiv(v1.x - v0.x, width, len); in calc_butt_cap()
/external/pdfium/core/include/fxcrt/
Dfx_system.h274 #define FXSYS_MulDiv(a, b, c) ((a) * (b) / (c)) macro
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp301 x = x1 + FXSYS_MulDiv(x2 - x1, y - y1, y2 - y1); in _GetScanlineIntersect()
336 …r[nIntersects] = vertex1.r + FXSYS_MulDiv(vertex2.r - vertex1.r, y - vertex1.y, vertex2.y - vertex… in _DrawGouraud()
337 …g[nIntersects] = vertex1.g + FXSYS_MulDiv(vertex2.g - vertex1.g, y - vertex1.y, vertex2.y - vertex… in _DrawGouraud()
338 …b[nIntersects] = vertex1.b + FXSYS_MulDiv(vertex2.b - vertex1.b, y - vertex1.y, vertex2.y - vertex… in _DrawGouraud()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_path.cpp289 start_dc = (FX_FLOAT)FXSYS_fabs(FXSYS_MulDiv(half_width, start_len, start_x - middle_x)); in _UpdateLineJoinPoints()
295 end_dc = (FX_FLOAT)FXSYS_fabs(FXSYS_MulDiv(half_width, end_len, end_x - middle_x)); in _UpdateLineJoinPoints()