Lines Matching defs:thickness
669 void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 col, bool closed, float thickness)
680 const bool thick_line = thickness > 1.0f;
759 const float half_inner_thickness = (thickness - AA_SIZE) * 0.5f;
839 dx *= (thickness * 0.5f);
840 dy *= (thickness * 0.5f);
1046 void ImDrawList::AddLine(const ImVec2& a, const ImVec2& b, ImU32 col, float thickness)
1052 PathStroke(col, false, thickness);
1056 void ImDrawList::AddRect(const ImVec2& a, const ImVec2& b, ImU32 col, float rounding, int rounding_corners_flags, float thickness)
1064 PathStroke(col, true, thickness);
1098 void ImDrawList::AddQuad(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, ImU32 col, float thickness)
1107 PathStroke(col, true, thickness);
1122 void ImDrawList::AddTriangle(const ImVec2& a, const ImVec2& b, const ImVec2& c, ImU32 col, float thickness)
1130 PathStroke(col, true, thickness);
1144 void ImDrawList::AddCircle(const ImVec2& centre, float radius, ImU32 col, int num_segments, float thickness)
1152 PathStroke(col, true, thickness);
1166 void ImDrawList::AddBezierCurve(const ImVec2& pos0, const ImVec2& cp0, const ImVec2& cp1, const ImVec2& pos1, ImU32 col, float thickness, int num_segments)
1173 PathStroke(col, false, thickness);