Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/
Dcfx_pathdata.cpp64 float start_k = 0; in UpdateLineJoinPoints() local
86 start_k = (mid_pos.y - start_pos.y) / (mid_pos.x - start_pos.x); in UpdateLineJoinPoints()
87 start_c = mid_pos.y - (start_k * mid_pos.x); in UpdateLineJoinPoints()
122 if (end_pos.y < (start_k * end_pos.x) + start_c) in UpdateLineJoinPoints()
123 outside.y = (start_k * outside.x) + start_c + start_dc; in UpdateLineJoinPoints()
125 outside.y = (start_k * outside.x) + start_c - start_dc; in UpdateLineJoinPoints()
131 if (fabs(start_k - end_k) < one_twentieth) { in UpdateLineJoinPoints()
142 if (end_pos.y < (start_k * end_pos.x) + start_c) in UpdateLineJoinPoints()
153 float join_x = (end_outside_c - start_outside_c) / (start_k - end_k); in UpdateLineJoinPoints()
154 float join_y = start_k * join_x + start_outside_c; in UpdateLineJoinPoints()