Searched refs:points_count (Results 1 – 2 of 2) sorted by relevance
669 void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 col, bool closed, … in AddPolyline() argument671 if (points_count < 2) in AddPolyline()676 int count = points_count; in AddPolyline()678 count = points_count-1; in AddPolyline()688 const int vtx_count = thick_line ? points_count*4 : points_count*3; in AddPolyline()692 …ImVec2* temp_normals = (ImVec2*)alloca(points_count * (thick_line ? 5 : 3) * sizeof(ImVec2)); //-V… in AddPolyline()693 ImVec2* temp_points = temp_normals + points_count; in AddPolyline()697 const int i2 = (i1+1) == points_count ? 0 : i1+1; in AddPolyline()705 temp_normals[points_count-1] = temp_normals[points_count-2]; in AddPolyline()713 …temp_points[(points_count-1)*2+0] = points[points_count-1] + temp_normals[points_count-1] * AA_SIZ… in AddPolyline()[all …]
35 const int points_count = (width - 1) / 2; in GetTransposedMatrixForWinograd() local36 for (int i = 0; i < points_count; ++i) { in GetTransposedMatrixForWinograd()