Lines Matching refs:values_count
5249 …* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_off… in PlotEx() argument
5278 for (int i = 0; i < values_count; i++) in PlotEx()
5292 if (values_count > 0) in PlotEx()
5294 …int res_w = ImMin((int)frame_size.x, values_count) + ((plot_type == ImGuiPlotType_Lines) ? -1 : 0); in PlotEx()
5295 int item_count = values_count + ((plot_type == ImGuiPlotType_Lines) ? -1 : 0); in PlotEx()
5303 IM_ASSERT(v_idx >= 0 && v_idx < values_count); in PlotEx()
5305 const float v0 = values_getter(data, (v_idx + values_offset) % values_count); in PlotEx()
5306 const float v1 = values_getter(data, (v_idx + 1 + values_offset) % values_count); in PlotEx()
5317 float v0 = values_getter(data, (0 + values_offset) % values_count); in PlotEx()
5329 IM_ASSERT(v1_idx >= 0 && v1_idx < values_count); in PlotEx()
5330 const float v1 = values_getter(data, (v1_idx + values_offset + 1) % values_count); in PlotEx()
5375 void ImGui::PlotLines(const char* label, const float* values, int values_count, int values_offset, … in PlotLines() argument
5378 …PlotEx(ImGuiPlotType_Lines, label, &Plot_ArrayGetter, (void*)&data, values_count, values_offset, o… in PlotLines()
5381 …* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_off… in PlotLines() argument
5383 …PlotEx(ImGuiPlotType_Lines, label, values_getter, data, values_count, values_offset, overlay_text,… in PlotLines()
5386 void ImGui::PlotHistogram(const char* label, const float* values, int values_count, int values_offs… in PlotHistogram() argument
5389 …PlotEx(ImGuiPlotType_Histogram, label, &Plot_ArrayGetter, (void*)&data, values_count, values_offse… in PlotHistogram()
5392 …* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_off… in PlotHistogram() argument
5394 …PlotEx(ImGuiPlotType_Histogram, label, values_getter, data, values_count, values_offset, overlay_t… in PlotHistogram()