/external/pdfium/third_party/agg23/ |
D | agg_curves.cpp | 64 FX_FLOAT d2 = FXSYS_fabs(FXSYS_Mul(x2 - x4, dy) - FXSYS_Mul(y2 - y4, dx)); in recursive_bezier() 65 FX_FLOAT d3 = FXSYS_fabs(FXSYS_Mul(x3 - x4, dy) - FXSYS_Mul(y3 - y4, dx)); in recursive_bezier() 78 if(FXSYS_Mul(d3, d3) <= FXSYS_Mul(m_distance_tolerance_square, in recursive_bezier() 79 FXSYS_Mul(dx, dx) + FXSYS_Mul(dy, dy))) { in recursive_bezier() 85 if(FXSYS_Mul(d2, d2) <= FXSYS_Mul(m_distance_tolerance_square, in recursive_bezier() 86 FXSYS_Mul(dx, dx) + FXSYS_Mul(dy, dy))) { in recursive_bezier() 92 if(FXSYS_Mul(d2 + d3, d2 + d3) <= FXSYS_Mul(m_distance_tolerance_square, in recursive_bezier() 93 FXSYS_Mul(dx, dx) + FXSYS_Mul(dy, dy))) { in recursive_bezier()
|
D | agg_math_stroke.h | 70 out_vertices.add(coord_type(x + FXSYS_Mul(width, FXSYS_cos(a1)), in stroke_calc_arc() 71 y + FXSYS_Mul(width, FXSYS_sin(a1)))); in stroke_calc_arc() 81 out_vertices.add(coord_type(x + FXSYS_Mul(width, FXSYS_cos(a1)), in stroke_calc_arc() 82 y + FXSYS_Mul(width, FXSYS_sin(a1)))); in stroke_calc_arc() 110 FX_FLOAT lim = FXSYS_Mul(width, miter_limit); in stroke_calc_miter() 118 if((FXSYS_Mul(x2 - v0.x, dy1) - FXSYS_Mul(v0.y - y2, dx1) < 0) != in stroke_calc_miter() 119 (FXSYS_Mul(x2 - v2.x, dy1) - FXSYS_Mul(v2.y - y2, dx1) < 0)) { in stroke_calc_miter() 136 out_vertices.add(coord_type(v1.x + dx1 + FXSYS_Mul(dy1, miter_limit), in stroke_calc_miter() 137 v1.y - dy1 + FXSYS_Mul(dx1, miter_limit))); in stroke_calc_miter() 138 out_vertices.add(coord_type(v1.x + dx2 - FXSYS_Mul(dy2, miter_limit), in stroke_calc_miter() [all …]
|
D | agg_math.h | 29 return FXSYS_Mul(x - x2, y2 - y1) - FXSYS_Mul(y - y2, x2 - x1); in calc_point_location() 53 FX_FLOAT num = FXSYS_Mul(ay - cy, dx - cx) - FXSYS_Mul(ax - cx, dy - cy); in calc_intersection() 54 FX_FLOAT den = FXSYS_Mul(bx - ax, dy - cy) - FXSYS_Mul(by - ay, dx - cx); in calc_intersection()
|
D | agg_clip_liang_barsky.h | 89 *y++ = (T)(y1 + FXSYS_Mul(deltay, tinx)); in clip_liang_barsky() 91 *x++ = (T)(x1 + FXSYS_Mul(deltax, tiny)); in clip_liang_barsky() 99 *y++ = (T)(y1 + FXSYS_Mul(deltay, toutx)); in clip_liang_barsky() 101 *x++ = (T)(x1 + FXSYS_Mul(deltax, touty)); in clip_liang_barsky()
|
/external/pdfium/xfa/src/fxgraphics/src/ |
D | fx_path_generator.cpp | 123 FX_FLOAT ty = y0 - FXSYS_Div(FXSYS_Mul(tx, x0), y0); in ArcTo() 134 bezier_x = x + FXSYS_Mul(width, FXSYS_Mul(px[0], cs) - FXSYS_Mul(py[0], sn)); in ArcTo() 135 bezier_y = y + FXSYS_Mul(height, FXSYS_Mul(px[0], sn) + FXSYS_Mul(py[0], cs)); in ArcTo() 137 bezier_x = x + FXSYS_Mul(width, FXSYS_Mul(px[1], cs) - FXSYS_Mul(py[1], sn)); in ArcTo() 138 bezier_y = y + FXSYS_Mul(height, FXSYS_Mul(px[1], sn) + FXSYS_Mul(py[1], cs)); in ArcTo() 140 bezier_x = x + FXSYS_Mul(width, FXSYS_cos(start_angle + sweep_angle)), in ArcTo() 141 bezier_y = y + FXSYS_Mul(height, FXSYS_sin(start_angle + sweep_angle)); in ArcTo() 192 x + FXSYS_Mul(width, FXSYS_cos(start_angle)), in AddArc() 193 y + FXSYS_Mul(height, FXSYS_sin(start_angle)), in AddArc() 231 old_count + 1, x + FXSYS_Mul(width, FXSYS_cos(start_angle)), in AddPie() [all …]
|
D | pre.h | 8 #ifndef FXSYS_Mul 9 #define FXSYS_Mul(a, b) ((a) * (b)) macro
|
D | fx_graphics.cpp | 975 FXSYS_Mul(x_span, x_span) + FXSYS_Mul(y_span, y_span); in FillPathWithShading() 982 FXSYS_Mul(x - start_x, x_span) + FXSYS_Mul(y - start_y, y_span), in FillPathWithShading() 1005 FX_FLOAT a = FXSYS_Mul(start_x - end_x, start_x - end_x) + in FillPathWithShading() 1006 FXSYS_Mul(start_y - end_y, start_y - end_y) - in FillPathWithShading() 1007 FXSYS_Mul(start_r - end_r, start_r - end_r); in FillPathWithShading() 1013 FX_FLOAT b = -2 * (FXSYS_Mul(x - start_x, end_x - start_x) + in FillPathWithShading() 1014 FXSYS_Mul(y - start_y, end_y - start_y) + in FillPathWithShading() 1015 FXSYS_Mul(start_r, end_r - start_r)); in FillPathWithShading() 1016 FX_FLOAT c = FXSYS_Mul(x - start_x, x - start_x) + in FillPathWithShading() 1017 FXSYS_Mul(y - start_y, y - start_y) - in FillPathWithShading() [all …]
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_path.cpp | 267 start_c = middle_y - FXSYS_Mul(start_k, middle_x); in _UpdateLineJoinPoints() 274 end_c = middle_y - FXSYS_Mul(end_k, middle_x); in _UpdateLineJoinPoints() 287 if (start_y < FXSYS_Mul(end_k, start_x) + end_c) { in _UpdateLineJoinPoints() 288 outside_y = FXSYS_Mul(end_k, outside_x) + end_c + end_dc; in _UpdateLineJoinPoints() 290 outside_y = FXSYS_Mul(end_k, outside_x) + end_c - end_dc; in _UpdateLineJoinPoints() 303 if (end_y < FXSYS_Mul(start_k, end_x) + start_c) { in _UpdateLineJoinPoints() 304 outside_y = FXSYS_Mul(start_k, outside_x) + start_c + start_dc; in _UpdateLineJoinPoints() 306 outside_y = FXSYS_Mul(start_k, outside_x) + start_c - start_dc; in _UpdateLineJoinPoints() 323 if (end_y < FXSYS_Mul(start_k, end_x) + start_c) { in _UpdateLineJoinPoints() 329 if (start_y < FXSYS_Mul(end_k, start_x) + end_c) { in _UpdateLineJoinPoints() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_pattern.cpp | 48 FXSYS_Mul(x_span, x_span) + FXSYS_Mul(y_span, y_span); in DrawAxialShading() 88 FXSYS_Mul(x - start_x, x_span) + FXSYS_Mul(y - start_y, y_span), in DrawAxialShading() 168 FX_FLOAT a = FXSYS_Mul(start_x - end_x, start_x - end_x) + in DrawRadialShading() 169 FXSYS_Mul(start_y - end_y, start_y - end_y) - in DrawRadialShading() 170 FXSYS_Mul(start_r - end_r, start_r - end_r); in DrawRadialShading() 176 int length = (int)FXSYS_sqrt((FXSYS_Mul(start_x - end_x, start_x - end_x) + in DrawRadialShading() 177 FXSYS_Mul(start_y - end_y, start_y - end_y))); in DrawRadialShading() 187 FX_FLOAT b = -2 * (FXSYS_Mul(x - start_x, end_x - start_x) + in DrawRadialShading() 188 FXSYS_Mul(y - start_y, end_y - start_y) + in DrawRadialShading() 189 FXSYS_Mul(start_r, end_r - start_r)); in DrawRadialShading() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_graph_state.cpp | 318 FX_FLOAT size = FXSYS_Mul(unit, GetFontSize()); in GetFontSizeV() 324 FX_FLOAT size = FXSYS_Mul(unit, GetFontSize()); in GetFontSizeH() 452 pData->m_DashPhase = FXSYS_Mul(phase, scale); in SetLineDash() 455 pData->m_DashArray[i] = FXSYS_Mul(pArray->GetNumber(i), scale); in SetLineDash()
|
D | fpdf_page_parser.cpp | 1223 FXSYS_Mul(fInitKerning, m_pCurStates->m_TextState.GetFontSize()) / in AddTextObject() 1227 FXSYS_Mul(fInitKerning, m_pCurStates->m_TextState.GetFontSize()) / in AddTextObject() 1268 FXSYS_Mul(pKerning[nsegs - 1], in AddTextObject() 1273 FXSYS_Mul(pKerning[nsegs - 1], in AddTextObject() 1300 FXSYS_Mul(pArray->GetNumber(i), in Handle_ShowText_Positioning()
|
D | fpdf_page.cpp | 414 curpos -= FXSYS_Mul(m_pCharPos[i - 1], fontsize) / 1000; in CalcPositionData() 504 *pTextAdvanceX = FXSYS_Mul(curpos, horz_scale); in CalcPositionData()
|
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_engine.cpp | 277 double src_left = FXSYS_Mul(scale_x, (FX_FLOAT)(clip_rect.left) + base_x); in CStretchEngine() 278 double src_right = FXSYS_Mul(scale_x, (FX_FLOAT)(clip_rect.right) + base_x); in CStretchEngine() 279 double src_top = FXSYS_Mul(scale_y, (FX_FLOAT)(clip_rect.top) + base_y); in CStretchEngine() 280 double src_bottom = FXSYS_Mul(scale_y, (FX_FLOAT)(clip_rect.bottom) + base_y); in CStretchEngine()
|
/external/pdfium/core/src/fpdfapi/fpdf_font/ |
D | fpdf_font.cpp | 1618 m_FontBBox.left = (int32_t)(FXSYS_Mul(pBBox->GetNumber(0), xscale) * 1000); in _Load() 1620 (int32_t)(FXSYS_Mul(pBBox->GetNumber(1), yscale) * 1000); in _Load() 1621 m_FontBBox.right = (int32_t)(FXSYS_Mul(pBBox->GetNumber(2), xscale) * 1000); in _Load() 1622 m_FontBBox.top = (int32_t)(FXSYS_Mul(pBBox->GetNumber(3), yscale) * 1000); in _Load() 1636 FXSYS_round(FXSYS_Mul(pWidthArray->GetNumber(i), xscale) * 1000); in _Load()
|
/external/pdfium/core/include/fxcrt/ |
D | fx_system.h | 274 #define FXSYS_Mul(a, b) ((a) * (b)) macro
|
/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_gdipext.cpp | 1090 FX_FLOAT distance_square = FXSYS_Mul(dx, dx) + FXSYS_Mul(dy, dy); in IsSmallTriangle()
|