Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/ge/
Dfx_ge_path.cpp254 FX_FLOAT start_k = 0, start_c = 0, end_k = 0, end_c = 0, start_len = 0, in _UpdateLineJoinPoints() local
266 start_k = FXSYS_Div(middle_y - start_y, middle_x - start_x); in _UpdateLineJoinPoints()
267 start_c = middle_y - FXSYS_Mul(start_k, middle_x); 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()
311 if (FXSYS_fabs(start_k - end_k) < 1.0f / 20) { in _UpdateLineJoinPoints()
323 if (end_y < FXSYS_Mul(start_k, end_x) + start_c) { in _UpdateLineJoinPoints()
334 FX_FLOAT join_x = FXSYS_Div(end_outside_c - start_outside_c, start_k - end_k); in _UpdateLineJoinPoints()
335 FX_FLOAT join_y = FXSYS_Mul(start_k, join_x) + start_outside_c; in _UpdateLineJoinPoints()