Searched refs:mid_pos (Results 1 – 1 of 1) sorted by relevance
79 const CFX_PointF& mid_pos, in UpdateLineJoinPoints() argument93 bool bStartVert = fabs(start_pos.x - mid_pos.x) < one_twentieth; in UpdateLineJoinPoints()94 bool bEndVert = fabs(mid_pos.x - end_pos.x) < one_twentieth; in UpdateLineJoinPoints()96 int start_dir = mid_pos.y > start_pos.y ? 1 : -1; in UpdateLineJoinPoints()97 float point_y = mid_pos.y + half_width * start_dir; in UpdateLineJoinPoints()98 rect->UpdateRect(CFX_PointF(mid_pos.x + half_width, point_y)); in UpdateLineJoinPoints()99 rect->UpdateRect(CFX_PointF(mid_pos.x - half_width, point_y)); in UpdateLineJoinPoints()104 CFX_PointF start_to_mid = start_pos - mid_pos; in UpdateLineJoinPoints()105 start_k = (mid_pos.y - start_pos.y) / (mid_pos.x - start_pos.x); in UpdateLineJoinPoints()106 start_c = mid_pos.y - (start_k * mid_pos.x); in UpdateLineJoinPoints()[all …]