Searched refs:mid_pos (Results 1 – 1 of 1) sorted by relevance
60 const CFX_PointF& mid_pos, in UpdateLineJoinPoints() argument74 bool bStartVert = fabs(start_pos.x - mid_pos.x) < one_twentieth; in UpdateLineJoinPoints()75 bool bEndVert = fabs(mid_pos.x - end_pos.x) < one_twentieth; in UpdateLineJoinPoints()77 int start_dir = mid_pos.y > start_pos.y ? 1 : -1; in UpdateLineJoinPoints()78 float point_y = mid_pos.y + half_width * start_dir; in UpdateLineJoinPoints()79 rect->UpdateRect(CFX_PointF(mid_pos.x + half_width, point_y)); in UpdateLineJoinPoints()80 rect->UpdateRect(CFX_PointF(mid_pos.x - half_width, point_y)); in UpdateLineJoinPoints()85 CFX_PointF start_to_mid = start_pos - mid_pos; in UpdateLineJoinPoints()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()[all …]