| 2391 | } |
| 2392 | |
| 2393 | void ImGui::ShadeVertsTransformPos(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, const ImVec2& pivot_in, float cos_a, float sin_a, const ImVec2& pivot_out) |
| 2394 | { |
| 2395 | ImDrawVert* vert_start = draw_list->VtxBuffer.Data + vert_start_idx; |
| 2396 | ImDrawVert* vert_end = draw_list->VtxBuffer.Data + vert_end_idx; |
| 2397 | for (ImDrawVert* vertex = vert_start; vertex < vert_end; ++vertex) |
| 2398 | vertex->pos = ImRotate(vertex->pos- pivot_in, cos_a, sin_a) + pivot_out; |
| 2399 | } |
| 2400 | |
| 2401 | //----------------------------------------------------------------------------- |
| 2402 | // [SECTION] ImFontConfig |
nothing calls this directly
no test coverage detected