{ "info" : { "source" : "include/implot/implot.h", "hash" : "e2a43b9dc38ce3ba83d62eba17a8f6d4", "url" : "https://github.com/epezent/implot.git", "revision" : "dea3387cdcc1d6a7ee3607f8a37a9dce8a85224f" }, "decls" : [ { "@type" : "AstRecordDecl", "name" : "ImPlotContext", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Forward declarations" } ] } ] } ] }, { "@type" : "AstEnumDecl", "name" : "ImPlotFlags_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Options for plots (see BeginPlot)." } ] } ] }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_None", "docComment" : "default", "qualType" : "ImPlotFlags_", "order" : 0, "value" : "0", "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_NoTitle", "docComment" : "the plot title will not be displayed (titles are also hidden if preceeded by double hashes, e.g. \"##MyPlot\")", "qualType" : "ImPlotFlags_", "order" : 1, "value" : "1 << 0", "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_NoLegend", "docComment" : "the legend will not be displayed", "qualType" : "ImPlotFlags_", "order" : 2, "value" : "1 << 1", "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_NoMenus", "docComment" : "the user will not be able to open context menus with right-click", "qualType" : "ImPlotFlags_", "order" : 3, "value" : "1 << 2", "evaluatedValue" : "4" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_NoBoxSelect", "docComment" : "the user will not be able to box-select with right-click drag", "qualType" : "ImPlotFlags_", "order" : 4, "value" : "1 << 3", "evaluatedValue" : "8" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_NoMousePos", "docComment" : "the mouse position, in plot coordinates, will not be displayed inside of the plot", "qualType" : "ImPlotFlags_", "order" : 5, "value" : "1 << 4", "evaluatedValue" : "16" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_NoHighlight", "docComment" : "plot items will not be highlighted when their legend entry is hovered", "qualType" : "ImPlotFlags_", "order" : 6, "value" : "1 << 5", "evaluatedValue" : "32" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_NoChild", "docComment" : "a child window region will not be used to capture mouse scroll (can boost performance for single ImGui window applications)", "qualType" : "ImPlotFlags_", "order" : 7, "value" : "1 << 6", "evaluatedValue" : "64" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_Equal", "docComment" : "primary x and y axes will be constrained to have the same units/pixel (does not apply to auxiliary y-axes)", "qualType" : "ImPlotFlags_", "order" : 8, "value" : "1 << 7", "evaluatedValue" : "128" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_YAxis2", "docComment" : "enable a 2nd y-axis on the right side", "qualType" : "ImPlotFlags_", "order" : 9, "value" : "1 << 8", "evaluatedValue" : "256" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_YAxis3", "docComment" : "enable a 3rd y-axis on the right side", "qualType" : "ImPlotFlags_", "order" : 10, "value" : "1 << 9", "evaluatedValue" : "512" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_Query", "docComment" : "the user will be able to draw query rects with middle-mouse or CTRL + right-click drag", "qualType" : "ImPlotFlags_", "order" : 11, "value" : "1 << 10", "evaluatedValue" : "1024" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_Crosshairs", "docComment" : "the default mouse cursor will be replaced with a crosshair when hovered", "qualType" : "ImPlotFlags_", "order" : 12, "value" : "1 << 11", "evaluatedValue" : "2048" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_AntiAliased", "docComment" : "plot lines will be software anti-aliased (not recommended for high density plots, prefer MSAA)", "qualType" : "ImPlotFlags_", "order" : 13, "value" : "1 << 12", "evaluatedValue" : "4096" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotFlags_CanvasOnly", "qualType" : "ImPlotFlags_", "order" : 14, "value" : "ImPlotFlags_NoTitle | ImPlotFlags_NoLegend | ImPlotFlags_NoMenus | ImPlotFlags_NoBoxSelect | ImPlotFlags_NoMousePos", "evaluatedValue" : "31" } ] }, { "@type" : "AstEnumDecl", "name" : "ImPlotAxisFlags_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Options for plot axes (see BeginPlot)." } ] } ] }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_None", "docComment" : "default", "qualType" : "ImPlotAxisFlags_", "order" : 0, "value" : "0", "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_NoLabel", "docComment" : "the axis label will not be displayed (axis labels also hidden if the supplied string name is NULL)", "qualType" : "ImPlotAxisFlags_", "order" : 1, "value" : "1 << 0", "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_NoGridLines", "docComment" : "no grid lines will be displayed", "qualType" : "ImPlotAxisFlags_", "order" : 2, "value" : "1 << 1", "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_NoTickMarks", "docComment" : "no tick marks will be displayed", "qualType" : "ImPlotAxisFlags_", "order" : 3, "value" : "1 << 2", "evaluatedValue" : "4" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_NoTickLabels", "docComment" : "no text labels will be displayed", "qualType" : "ImPlotAxisFlags_", "order" : 4, "value" : "1 << 3", "evaluatedValue" : "8" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_Foreground", "docComment" : "grid lines will be displayed in the foreground (i.e. on top of data) in stead of the background", "qualType" : "ImPlotAxisFlags_", "order" : 5, "value" : "1 << 4", "evaluatedValue" : "16" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_LogScale", "docComment" : "a logartithmic (base 10) axis scale will be used (mutually exclusive with ImPlotAxisFlags_Time)", "qualType" : "ImPlotAxisFlags_", "order" : 6, "value" : "1 << 5", "evaluatedValue" : "32" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_Time", "docComment" : "axis will display date/time formatted labels (mutually exclusive with ImPlotAxisFlags_LogScale)", "qualType" : "ImPlotAxisFlags_", "order" : 7, "value" : "1 << 6", "evaluatedValue" : "64" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_Invert", "docComment" : "the axis will be inverted", "qualType" : "ImPlotAxisFlags_", "order" : 8, "value" : "1 << 7", "evaluatedValue" : "128" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_NoInitialFit", "docComment" : "axis will not be initially fit to data extents on the first rendered frame (also the case if SetNextPlotLimits explicitly called)", "qualType" : "ImPlotAxisFlags_", "order" : 9, "value" : "1 << 8", "evaluatedValue" : "256" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_AutoFit", "docComment" : "axis will be auto-fitting to data extents", "qualType" : "ImPlotAxisFlags_", "order" : 10, "value" : "1 << 9", "evaluatedValue" : "512" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_RangeFit", "docComment" : "axis will only fit points if the point is in the visible range of the **orthoganol** axis", "qualType" : "ImPlotAxisFlags_", "order" : 11, "value" : "1 << 10", "evaluatedValue" : "1024" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_LockMin", "docComment" : "the axis minimum value will be locked when panning/zooming", "qualType" : "ImPlotAxisFlags_", "order" : 12, "value" : "1 << 11", "evaluatedValue" : "2048" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_LockMax", "docComment" : "the axis maximum value will be locked when panning/zooming", "qualType" : "ImPlotAxisFlags_", "order" : 13, "value" : "1 << 12", "evaluatedValue" : "4096" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_Lock", "qualType" : "ImPlotAxisFlags_", "order" : 14, "value" : "ImPlotAxisFlags_LockMin | ImPlotAxisFlags_LockMax", "evaluatedValue" : "6144" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotAxisFlags_NoDecorations", "qualType" : "ImPlotAxisFlags_", "order" : 15, "value" : "ImPlotAxisFlags_NoLabel | ImPlotAxisFlags_NoGridLines | ImPlotAxisFlags_NoTickMarks | ImPlotAxisFlags_NoTickLabels", "evaluatedValue" : "15" } ] }, { "@type" : "AstEnumDecl", "name" : "ImPlotSubplotFlags_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Options for subplots (see BeginSubplot)." } ] } ] }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotSubplotFlags_None", "docComment" : "default", "qualType" : "ImPlotSubplotFlags_", "order" : 0, "value" : "0", "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotSubplotFlags_NoTitle", "docComment" : "the subplot title will not be displayed (titles are also hidden if preceeded by double hashes, e.g. \"##MySubplot\")", "qualType" : "ImPlotSubplotFlags_", "order" : 1, "value" : "1 << 0", "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotSubplotFlags_NoLegend", "docComment" : "the legend will not be displayed (only applicable if ImPlotSubplotFlags_ShareItems is enabled)", "qualType" : "ImPlotSubplotFlags_", "order" : 2, "value" : "1 << 1", "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotSubplotFlags_NoMenus", "docComment" : "the user will not be able to open context menus with right-click", "qualType" : "ImPlotSubplotFlags_", "order" : 3, "value" : "1 << 2", "evaluatedValue" : "4" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotSubplotFlags_NoResize", "docComment" : "resize splitters between subplot cells will be not be provided", "qualType" : "ImPlotSubplotFlags_", "order" : 4, "value" : "1 << 3", "evaluatedValue" : "8" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotSubplotFlags_NoAlign", "docComment" : "subplot edges will not be aligned vertically or horizontally", "qualType" : "ImPlotSubplotFlags_", "order" : 5, "value" : "1 << 4", "evaluatedValue" : "16" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotSubplotFlags_ShareItems", "docComment" : "items across all subplots will be shared and rendered into a single legend entry", "qualType" : "ImPlotSubplotFlags_", "order" : 6, "value" : "1 << 5", "evaluatedValue" : "32" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotSubplotFlags_LinkRows", "docComment" : "link the y-axis limits of all plots in each row (does not apply auxiliary y-axes)", "qualType" : "ImPlotSubplotFlags_", "order" : 7, "value" : "1 << 6", "evaluatedValue" : "64" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotSubplotFlags_LinkCols", "docComment" : "link the x-axis limits of all plots in each column", "qualType" : "ImPlotSubplotFlags_", "order" : 8, "value" : "1 << 7", "evaluatedValue" : "128" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotSubplotFlags_LinkAllX", "docComment" : "link the x-axis limits in every plot in the subplot", "qualType" : "ImPlotSubplotFlags_", "order" : 9, "value" : "1 << 8", "evaluatedValue" : "256" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotSubplotFlags_LinkAllY", "docComment" : "link the y-axis limits in every plot in the subplot (does not apply to auxiliary y-axes)", "qualType" : "ImPlotSubplotFlags_", "order" : 10, "value" : "1 << 9", "evaluatedValue" : "512" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotSubplotFlags_ColMajor", "docComment" : "subplots are added in column major order instead of the default row major order", "qualType" : "ImPlotSubplotFlags_", "order" : 11, "value" : "1 << 10", "evaluatedValue" : "1024" } ] }, { "@type" : "AstEnumDecl", "name" : "ImPlotCol_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Plot styling colors." } ] } ] }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_Line", "docComment" : "plot line/outline color (defaults to next unused color in current colormap)", "qualType" : "ImPlotCol_", "order" : 0 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_Fill", "docComment" : "plot fill color for bars (defaults to the current line color)", "qualType" : "ImPlotCol_", "order" : 1 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_MarkerOutline", "docComment" : "marker outline color (defaults to the current line color)", "qualType" : "ImPlotCol_", "order" : 2 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_MarkerFill", "docComment" : "marker fill color (defaults to the current line color)", "qualType" : "ImPlotCol_", "order" : 3 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_ErrorBar", "docComment" : "error bar color (defaults to ImGuiCol_Text)", "qualType" : "ImPlotCol_", "order" : 4 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_FrameBg", "docComment" : "plot frame background color (defaults to ImGuiCol_FrameBg)", "qualType" : "ImPlotCol_", "order" : 5 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_PlotBg", "docComment" : "plot area background color (defaults to ImGuiCol_WindowBg)", "qualType" : "ImPlotCol_", "order" : 6 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_PlotBorder", "docComment" : "plot area border color (defaults to ImGuiCol_Border)", "qualType" : "ImPlotCol_", "order" : 7 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_LegendBg", "docComment" : "legend background color (defaults to ImGuiCol_PopupBg)", "qualType" : "ImPlotCol_", "order" : 8 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_LegendBorder", "docComment" : "legend border color (defaults to ImPlotCol_PlotBorder)", "qualType" : "ImPlotCol_", "order" : 9 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_LegendText", "docComment" : "legend text color (defaults to ImPlotCol_InlayText)", "qualType" : "ImPlotCol_", "order" : 10 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_TitleText", "docComment" : "plot title text color (defaults to ImGuiCol_Text)", "qualType" : "ImPlotCol_", "order" : 11 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_InlayText", "docComment" : "color of text appearing inside of plots (defaults to ImGuiCol_Text)", "qualType" : "ImPlotCol_", "order" : 12 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_XAxis", "docComment" : "x-axis label and tick lables color (defaults to ImGuiCol_Text)", "qualType" : "ImPlotCol_", "order" : 13 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_XAxisGrid", "docComment" : "x-axis grid color (defaults to 25% ImPlotCol_XAxis)", "qualType" : "ImPlotCol_", "order" : 14 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_YAxis", "docComment" : "y-axis label and tick labels color (defaults to ImGuiCol_Text)", "qualType" : "ImPlotCol_", "order" : 15 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_YAxisGrid", "docComment" : "y-axis grid color (defaults to 25% ImPlotCol_YAxis)", "qualType" : "ImPlotCol_", "order" : 16 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_YAxis2", "docComment" : "2nd y-axis label and tick labels color (defaults to ImGuiCol_Text)", "qualType" : "ImPlotCol_", "order" : 17 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_YAxisGrid2", "docComment" : "2nd y-axis grid/label color (defaults to 25% ImPlotCol_YAxis2)", "qualType" : "ImPlotCol_", "order" : 18 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_YAxis3", "docComment" : "3rd y-axis label and tick labels color (defaults to ImGuiCol_Text)", "qualType" : "ImPlotCol_", "order" : 19 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_YAxisGrid3", "docComment" : "3rd y-axis grid/label color (defaults to 25% ImPlotCol_YAxis3)", "qualType" : "ImPlotCol_", "order" : 20 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_Selection", "docComment" : "box-selection color (defaults to yellow)", "qualType" : "ImPlotCol_", "order" : 21 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_Query", "docComment" : "box-query color (defaults to green)", "qualType" : "ImPlotCol_", "order" : 22 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_Crosshairs", "docComment" : "crosshairs color (defaults to ImPlotCol_PlotBorder)", "qualType" : "ImPlotCol_", "order" : 23 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotCol_COUNT", "qualType" : "ImPlotCol_", "order" : 24 } ] }, { "@type" : "AstEnumDecl", "name" : "ImPlotStyleVar_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Plot styling variables." } ] } ] }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_LineWeight", "docComment" : "float, plot item line weight in pixels", "qualType" : "ImPlotStyleVar_", "order" : 0 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_Marker", "docComment" : "int, marker specification", "qualType" : "ImPlotStyleVar_", "order" : 1 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_MarkerSize", "docComment" : "float, marker size in pixels (roughly the marker's \"radius\")", "qualType" : "ImPlotStyleVar_", "order" : 2 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_MarkerWeight", "docComment" : "float, plot outline weight of markers in pixels", "qualType" : "ImPlotStyleVar_", "order" : 3 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_FillAlpha", "docComment" : "float, alpha modifier applied to all plot item fills", "qualType" : "ImPlotStyleVar_", "order" : 4 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_ErrorBarSize", "docComment" : "float, error bar whisker width in pixels", "qualType" : "ImPlotStyleVar_", "order" : 5 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_ErrorBarWeight", "docComment" : "float, error bar whisker weight in pixels", "qualType" : "ImPlotStyleVar_", "order" : 6 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_DigitalBitHeight", "docComment" : "float, digital channels bit height (at 1) in pixels", "qualType" : "ImPlotStyleVar_", "order" : 7 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_DigitalBitGap", "docComment" : "float, digital channels bit padding gap in pixels", "qualType" : "ImPlotStyleVar_", "order" : 8 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_PlotBorderSize", "docComment" : "float, thickness of border around plot area", "qualType" : "ImPlotStyleVar_", "order" : 9 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_MinorAlpha", "docComment" : "float, alpha multiplier applied to minor axis grid lines", "qualType" : "ImPlotStyleVar_", "order" : 10 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_MajorTickLen", "docComment" : "ImVec2, major tick lengths for X and Y axes", "qualType" : "ImPlotStyleVar_", "order" : 11 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_MinorTickLen", "docComment" : "ImVec2, minor tick lengths for X and Y axes", "qualType" : "ImPlotStyleVar_", "order" : 12 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_MajorTickSize", "docComment" : "ImVec2, line thickness of major ticks", "qualType" : "ImPlotStyleVar_", "order" : 13 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_MinorTickSize", "docComment" : "ImVec2, line thickness of minor ticks", "qualType" : "ImPlotStyleVar_", "order" : 14 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_MajorGridSize", "docComment" : "ImVec2, line thickness of major grid lines", "qualType" : "ImPlotStyleVar_", "order" : 15 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_MinorGridSize", "docComment" : "ImVec2, line thickness of minor grid lines", "qualType" : "ImPlotStyleVar_", "order" : 16 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_PlotPadding", "docComment" : "ImVec2, padding between widget frame and plot area, labels, or outside legends (i.e. main padding)", "qualType" : "ImPlotStyleVar_", "order" : 17 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_LabelPadding", "docComment" : "ImVec2, padding between axes labels, tick labels, and plot edge", "qualType" : "ImPlotStyleVar_", "order" : 18 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_LegendPadding", "docComment" : "ImVec2, legend padding from plot edges", "qualType" : "ImPlotStyleVar_", "order" : 19 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_LegendInnerPadding", "docComment" : "ImVec2, legend inner padding from legend edges", "qualType" : "ImPlotStyleVar_", "order" : 20 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_LegendSpacing", "docComment" : "ImVec2, spacing between legend entries", "qualType" : "ImPlotStyleVar_", "order" : 21 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_MousePosPadding", "docComment" : "ImVec2, padding between plot edge and interior info text", "qualType" : "ImPlotStyleVar_", "order" : 22 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_AnnotationPadding", "docComment" : "ImVec2, text padding around annotation labels", "qualType" : "ImPlotStyleVar_", "order" : 23 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_FitPadding", "docComment" : "ImVec2, additional fit padding as a percentage of the fit extents (e.g. ImVec2(0.1f,0.1f) adds 10% to the fit extents of X and Y)", "qualType" : "ImPlotStyleVar_", "order" : 24 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_PlotDefaultSize", "docComment" : "ImVec2, default size used when ImVec2(0,0) is passed to BeginPlot", "qualType" : "ImPlotStyleVar_", "order" : 25 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_PlotMinSize", "docComment" : "ImVec2, minimum size plot frame can be when shrunk", "qualType" : "ImPlotStyleVar_", "order" : 26 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotStyleVar_COUNT", "qualType" : "ImPlotStyleVar_", "order" : 27 } ] }, { "@type" : "AstEnumDecl", "name" : "ImPlotMarker_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Marker specifications." } ] } ] }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotMarker_None", "docComment" : "no marker", "qualType" : "ImPlotMarker_", "order" : -1, "value" : "-1", "evaluatedValue" : "-1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotMarker_Circle", "docComment" : "a circle marker", "qualType" : "ImPlotMarker_", "order" : 0 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotMarker_Square", "docComment" : "a square maker", "qualType" : "ImPlotMarker_", "order" : 1 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotMarker_Diamond", "docComment" : "a diamond marker", "qualType" : "ImPlotMarker_", "order" : 2 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotMarker_Up", "docComment" : "an upward-pointing triangle marker", "qualType" : "ImPlotMarker_", "order" : 3 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotMarker_Down", "docComment" : "an downward-pointing triangle marker", "qualType" : "ImPlotMarker_", "order" : 4 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotMarker_Left", "docComment" : "an leftward-pointing triangle marker", "qualType" : "ImPlotMarker_", "order" : 5 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotMarker_Right", "docComment" : "an rightward-pointing triangle marker", "qualType" : "ImPlotMarker_", "order" : 6 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotMarker_Cross", "docComment" : "a cross marker (not fillable)", "qualType" : "ImPlotMarker_", "order" : 7 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotMarker_Plus", "docComment" : "a plus marker (not fillable)", "qualType" : "ImPlotMarker_", "order" : 8 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotMarker_Asterisk", "docComment" : "a asterisk marker (not fillable)", "qualType" : "ImPlotMarker_", "order" : 9 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotMarker_COUNT", "qualType" : "ImPlotMarker_", "order" : 10 } ] }, { "@type" : "AstEnumDecl", "name" : "ImPlotColormap_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Built-in colormaps" } ] } ] }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_Deep", "docComment" : "a.k.a. seaborn deep (qual=true, n=10) (default)", "qualType" : "ImPlotColormap_", "order" : 0, "value" : "0", "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_Dark", "docComment" : "a.k.a. matplotlib \"Set1\" (qual=true, n=9 )", "qualType" : "ImPlotColormap_", "order" : 1, "value" : "1", "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_Pastel", "docComment" : "a.k.a. matplotlib \"Pastel1\" (qual=true, n=9 )", "qualType" : "ImPlotColormap_", "order" : 2, "value" : "2", "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_Paired", "docComment" : "a.k.a. matplotlib \"Paired\" (qual=true, n=12)", "qualType" : "ImPlotColormap_", "order" : 3, "value" : "3", "evaluatedValue" : "3" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_Viridis", "docComment" : "a.k.a. matplotlib \"viridis\" (qual=false, n=11)", "qualType" : "ImPlotColormap_", "order" : 4, "value" : "4", "evaluatedValue" : "4" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_Plasma", "docComment" : "a.k.a. matplotlib \"plasma\" (qual=false, n=11)", "qualType" : "ImPlotColormap_", "order" : 5, "value" : "5", "evaluatedValue" : "5" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_Hot", "docComment" : "a.k.a. matplotlib/MATLAB \"hot\" (qual=false, n=11)", "qualType" : "ImPlotColormap_", "order" : 6, "value" : "6", "evaluatedValue" : "6" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_Cool", "docComment" : "a.k.a. matplotlib/MATLAB \"cool\" (qual=false, n=11)", "qualType" : "ImPlotColormap_", "order" : 7, "value" : "7", "evaluatedValue" : "7" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_Pink", "docComment" : "a.k.a. matplotlib/MATLAB \"pink\" (qual=false, n=11)", "qualType" : "ImPlotColormap_", "order" : 8, "value" : "8", "evaluatedValue" : "8" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_Jet", "docComment" : "a.k.a. MATLAB \"jet\" (qual=false, n=11)", "qualType" : "ImPlotColormap_", "order" : 9, "value" : "9", "evaluatedValue" : "9" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_Twilight", "docComment" : "a.k.a. matplotlib \"twilight\" (qual=false, n=11)", "qualType" : "ImPlotColormap_", "order" : 10, "value" : "10", "evaluatedValue" : "10" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_RdBu", "docComment" : "red/blue, Color Brewer (qual=false, n=11)", "qualType" : "ImPlotColormap_", "order" : 11, "value" : "11", "evaluatedValue" : "11" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_BrBG", "docComment" : "brown/blue-green, Color Brewer (qual=false, n=11)", "qualType" : "ImPlotColormap_", "order" : 12, "value" : "12", "evaluatedValue" : "12" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_PiYG", "docComment" : "pink/yellow-green, Color Brewer (qual=false, n=11)", "qualType" : "ImPlotColormap_", "order" : 13, "value" : "13", "evaluatedValue" : "13" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_Spectral", "docComment" : "color spectrum, Color Brewer (qual=false, n=11)", "qualType" : "ImPlotColormap_", "order" : 14, "value" : "14", "evaluatedValue" : "14" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotColormap_Greys", "docComment" : "white/black (qual=false, n=2 )", "qualType" : "ImPlotColormap_", "order" : 15, "value" : "15", "evaluatedValue" : "15" } ] }, { "@type" : "AstEnumDecl", "name" : "ImPlotLocation_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Used to position items on a plot (e.g. legends, labels, etc.)" } ] } ] }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotLocation_Center", "docComment" : "center-center", "qualType" : "ImPlotLocation_", "order" : 0, "value" : "0", "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotLocation_North", "docComment" : "top-center", "qualType" : "ImPlotLocation_", "order" : 1, "value" : "1 << 0", "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotLocation_South", "docComment" : "bottom-center", "qualType" : "ImPlotLocation_", "order" : 2, "value" : "1 << 1", "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotLocation_West", "docComment" : "center-left", "qualType" : "ImPlotLocation_", "order" : 3, "value" : "1 << 2", "evaluatedValue" : "4" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotLocation_East", "docComment" : "center-right", "qualType" : "ImPlotLocation_", "order" : 4, "value" : "1 << 3", "evaluatedValue" : "8" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotLocation_NorthWest", "docComment" : "top-left", "qualType" : "ImPlotLocation_", "order" : 5, "value" : "ImPlotLocation_North | ImPlotLocation_West", "evaluatedValue" : "5" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotLocation_NorthEast", "docComment" : "top-right", "qualType" : "ImPlotLocation_", "order" : 6, "value" : "ImPlotLocation_North | ImPlotLocation_East", "evaluatedValue" : "9" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotLocation_SouthWest", "docComment" : "bottom-left", "qualType" : "ImPlotLocation_", "order" : 7, "value" : "ImPlotLocation_South | ImPlotLocation_West", "evaluatedValue" : "6" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotLocation_SouthEast", "docComment" : "bottom-right", "qualType" : "ImPlotLocation_", "order" : 8, "value" : "ImPlotLocation_South | ImPlotLocation_East", "evaluatedValue" : "10" } ] }, { "@type" : "AstEnumDecl", "name" : "ImPlotOrientation_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Used to orient items on a plot (e.g. legends, labels, etc.)" } ] } ] }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotOrientation_Horizontal", "docComment" : "left/right", "qualType" : "ImPlotOrientation_", "order" : 0 }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotOrientation_Vertical", "docComment" : "up/down", "qualType" : "ImPlotOrientation_", "order" : 1 } ] }, { "@type" : "AstEnumDecl", "name" : "ImPlotYAxis_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Enums for different y-axes." } ] } ] }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotYAxis_1", "docComment" : "left (default)", "qualType" : "ImPlotYAxis_", "order" : 0, "value" : "0", "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotYAxis_2", "docComment" : "first on right side", "qualType" : "ImPlotYAxis_", "order" : 1, "value" : "1", "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotYAxis_3", "docComment" : "second on right side", "qualType" : "ImPlotYAxis_", "order" : 2, "value" : "2", "evaluatedValue" : "2" } ] }, { "@type" : "AstEnumDecl", "name" : "ImPlotBin_", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Enums for different automatic histogram binning methods (k = bin count or w = bin width)" } ] } ] }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotBin_Sqrt", "docComment" : "k = sqrt(n)", "qualType" : "ImPlotBin_", "order" : -1, "value" : "-1", "evaluatedValue" : "-1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotBin_Sturges", "docComment" : "k = 1 + log2(n)", "qualType" : "ImPlotBin_", "order" : -2, "value" : "-2", "evaluatedValue" : "-2" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotBin_Rice", "docComment" : "k = 2 * cbrt(n)", "qualType" : "ImPlotBin_", "order" : -1, "value" : "-3", "evaluatedValue" : "-3" }, { "@type" : "AstEnumConstantDecl", "name" : "ImPlotBin_Scott", "docComment" : "w = 3.49 * sigma / cbrt(n)", "qualType" : "ImPlotBin_", "order" : -4, "value" : "-4", "evaluatedValue" : "-4" } ] }, { "@type" : "AstRecordDecl", "name" : "ImPlotPoint", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Double precision version of ImVec2 used by ImPlot. Extensible by end users." } ] } ] }, { "@type" : "AstFieldDecl", "name" : "x", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstFieldDecl", "name" : "y", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstFunctionDecl", "name" : "operator[]", "resultType" : "double", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "idx", "qualType" : "int", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "operator[]", "resultType" : "double &", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "idx", "qualType" : "int", "desugaredQualType" : "int" } ] } ] }, { "@type" : "AstRecordDecl", "name" : "ImPlotRange", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " A range defined by a min/max value. Used for plot axes ranges." } ] } ] }, { "@type" : "AstFieldDecl", "name" : "Min", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstFieldDecl", "name" : "Max", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstFunctionDecl", "name" : "Contains", "resultType" : "bool", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "value", "qualType" : "double", "desugaredQualType" : "double" } ] }, { "@type" : "AstFunctionDecl", "name" : "Size", "resultType" : "double" } ] }, { "@type" : "AstRecordDecl", "name" : "ImPlotLimits", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Combination of two ranges for X and Y axes." } ] } ] }, { "@type" : "AstFieldDecl", "name" : "X", "qualType" : "ImPlotRange", "desugaredQualType" : "ImPlotRange" }, { "@type" : "AstFieldDecl", "name" : "Y", "qualType" : "ImPlotRange", "desugaredQualType" : "ImPlotRange" }, { "@type" : "AstFunctionDecl", "name" : "Contains", "resultType" : "bool", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "p", "qualType" : "const ImPlotPoint &", "desugaredQualType" : "const ImPlotPoint &" } ] }, { "@type" : "AstFunctionDecl", "name" : "Contains", "resultType" : "bool", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "x", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "y", "qualType" : "double", "desugaredQualType" : "double" } ] }, { "@type" : "AstFunctionDecl", "name" : "Min", "resultType" : "ImPlotPoint" }, { "@type" : "AstFunctionDecl", "name" : "Max", "resultType" : "ImPlotPoint" } ] }, { "@type" : "AstRecordDecl", "name" : "ImPlotStyle", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Plot style structure" } ] } ] }, { "@type" : "AstFieldDecl", "name" : "LineWeight", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "Marker", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "MarkerSize", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "MarkerWeight", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "FillAlpha", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "ErrorBarSize", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "ErrorBarWeight", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "DigitalBitHeight", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "DigitalBitGap", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "PlotBorderSize", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "MinorAlpha", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstFieldDecl", "name" : "MajorTickLen", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "MinorTickLen", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "MajorTickSize", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "MinorTickSize", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "MajorGridSize", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "MinorGridSize", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "PlotPadding", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "LabelPadding", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "LegendPadding", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "LegendInnerPadding", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "LegendSpacing", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "MousePosPadding", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "AnnotationPadding", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "FitPadding", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "PlotDefaultSize", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "PlotMinSize", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "Colors", "qualType" : "int[24]", "desugaredQualType" : "int[24]" }, { "@type" : "AstFieldDecl", "name" : "Colormap", "qualType" : "ImPlotColormap", "desugaredQualType" : "int" }, { "@type" : "AstFieldDecl", "name" : "AntiAliasedLines", "qualType" : "bool", "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "UseLocalTime", "qualType" : "bool", "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "UseISO8601", "qualType" : "bool", "desugaredQualType" : "bool" }, { "@type" : "AstFieldDecl", "name" : "Use24HourClock", "qualType" : "bool", "desugaredQualType" : "bool" } ] }, { "@type" : "AstNamespaceDecl", "name" : "ImPlot", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : "-----------------------------------------------------------------------------" }, { "@type" : "AstTextComment", "text" : " ImPlot End-User API" }, { "@type" : "AstTextComment", "text" : "-----------------------------------------------------------------------------" } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "CreateContext", "resultType" : "ImPlotContext *", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Creates a new ImPlot context. Call this after ImGui::CreateContext." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "DestroyContext", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Destroys an ImPlot context. Call this before ImGui::DestroyContext. NULL = destroy current context." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "ctx", "qualType" : "ImPlotContext *", "desugaredQualType" : "ImPlotContext *", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "GetCurrentContext", "resultType" : "ImPlotContext *", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns the current ImPlot context. NULL if no context has ben set." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "SetCurrentContext", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Sets the current ImPlot context." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "ctx", "qualType" : "ImPlotContext *", "desugaredQualType" : "ImPlotContext *" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetImGuiContext", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Sets the current **ImGui** context. This is ONLY necessary if you are compiling" }, { "@type" : "AstTextComment", "text" : " ImPlot as a DLL (not recommended) separate from your ImGui compilation. It" }, { "@type" : "AstTextComment", "text" : " sets the global variable GImGui, which is not shared across DLL boundaries." }, { "@type" : "AstTextComment", "text" : " See GImGui documentation in imgui.cpp for more details." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "ctx", "qualType" : "int *", "desugaredQualType" : "int *" } ] }, { "@type" : "AstFunctionDecl", "name" : "BeginPlot", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Starts a 2D plotting context. If this function returns true, EndPlot() MUST" }, { "@type" : "AstTextComment", "text" : " be called! You are encouraged to use the following convention:" } ] }, { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " if (BeginPlot(...)) {" }, { "@type" : "AstTextComment", "text" : " ImPlot::PlotLine(...);" }, { "@type" : "AstTextComment", "text" : " ..." }, { "@type" : "AstTextComment", "text" : " EndPlot();" }, { "@type" : "AstTextComment", "text" : " }" } ] }, { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Important notes:" } ] }, { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " - #title_id must be unique to the current ImGui ID scope. If you need to avoid ID" }, { "@type" : "AstTextComment", "text" : " collisions or don't want to display a title in the plot, use double hashes" }, { "@type" : "AstTextComment", "text" : " (e.g. \"MyPlot##HiddenIdText\" or \"##NoTitle\")." }, { "@type" : "AstTextComment", "text" : " - If #x_label and/or #y_label are provided, axes labels will be displayed." }, { "@type" : "AstTextComment", "text" : " - #size is the **frame** size of the plot widget, not the plot area. The default" }, { "@type" : "AstTextComment", "text" : " size of plots (i.e. when ImVec2(0,0)) can be modified in your ImPlotStyle" }, { "@type" : "AstTextComment", "text" : " (default is 400x300 px)." }, { "@type" : "AstTextComment", "text" : " - Auxiliary y-axes must be enabled with ImPlotFlags_YAxis2/3 to be displayed." }, { "@type" : "AstTextComment", "text" : " - See ImPlotFlags and ImPlotAxisFlags for more available options." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "title_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "x_label", "qualType" : "const char *", "desugaredQualType" : "const char *", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "y_label", "qualType" : "const char *", "desugaredQualType" : "const char *", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "size", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "ImVec2(-1,0)" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImPlotFlags", "desugaredQualType" : "int", "defaultValue" : "ImPlotFlags_None" }, { "@type" : "AstParmVarDecl", "name" : "x_flags", "qualType" : "ImPlotAxisFlags", "desugaredQualType" : "int", "defaultValue" : "ImPlotAxisFlags_None" }, { "@type" : "AstParmVarDecl", "name" : "y_flags", "qualType" : "ImPlotAxisFlags", "desugaredQualType" : "int", "defaultValue" : "ImPlotAxisFlags_None" }, { "@type" : "AstParmVarDecl", "name" : "y2_flags", "qualType" : "ImPlotAxisFlags", "desugaredQualType" : "int", "defaultValue" : "ImPlotAxisFlags_NoGridLines" }, { "@type" : "AstParmVarDecl", "name" : "y3_flags", "qualType" : "ImPlotAxisFlags", "desugaredQualType" : "int", "defaultValue" : "ImPlotAxisFlags_NoGridLines" }, { "@type" : "AstParmVarDecl", "name" : "y2_label", "qualType" : "const char *", "desugaredQualType" : "const char *", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "y3_label", "qualType" : "const char *", "desugaredQualType" : "const char *", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "EndPlot", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Only call EndPlot() if BeginPlot() returns true! Typically called at the end" }, { "@type" : "AstTextComment", "text" : " of an if statement conditioned on BeginPlot(). See example above." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "BeginSubplots", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Starts a subdivided plotting context. If the function returns true," }, { "@type" : "AstTextComment", "text" : " EndSubplots() MUST be called! Call BeginPlot/EndPlot AT MOST [rows*cols]" }, { "@type" : "AstTextComment", "text" : " times in between the begining and end of the subplot context. Plots are" }, { "@type" : "AstTextComment", "text" : " added in row major order." } ] }, { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Example:" } ] }, { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " if (BeginSubplots(\"My Subplot\",2,3,ImVec2(800,400)) {" }, { "@type" : "AstTextComment", "text" : " for (int i = 0; i " }, { "@type" : "AstTextComment", "text" : "<" }, { "@type" : "AstTextComment", "text" : " 6; ++i) {" }, { "@type" : "AstTextComment", "text" : " if (BeginPlot(...)) {" }, { "@type" : "AstTextComment", "text" : " ImPlot::PlotLine(...);" }, { "@type" : "AstTextComment", "text" : " ..." }, { "@type" : "AstTextComment", "text" : " EndPlot();" }, { "@type" : "AstTextComment", "text" : " }" }, { "@type" : "AstTextComment", "text" : " }" }, { "@type" : "AstTextComment", "text" : " EndSubplots();" }, { "@type" : "AstTextComment", "text" : " }" } ] }, { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Produces:" } ] }, { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " [0][1][2]" }, { "@type" : "AstTextComment", "text" : " [3][4][5]" } ] }, { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Important notes:" } ] }, { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " - #title_id must be unique to the current ImGui ID scope. If you need to avoid ID" }, { "@type" : "AstTextComment", "text" : " collisions or don't want to display a title in the plot, use double hashes" }, { "@type" : "AstTextComment", "text" : " (e.g. \"MyPlot##HiddenIdText\" or \"##NoTitle\")." }, { "@type" : "AstTextComment", "text" : " - #rows and #cols must be greater than 0." }, { "@type" : "AstTextComment", "text" : " - #size is the size of the entire grid of subplots, not the individual plots" }, { "@type" : "AstTextComment", "text" : " - #row_ratios and #col_ratios must have AT LEAST #rows and #cols elements," }, { "@type" : "AstTextComment", "text" : " respectively. These are the sizes of the rows and columns expressed in ratios." }, { "@type" : "AstTextComment", "text" : " If the user adjusts the dimensions, the arrays are updated with new ratios." } ] }, { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Important notes regarding BeginPlot from inside of BeginSubplots:" } ] }, { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " - The #title_id parameter of _BeginPlot_ (see above) does NOT have to be" }, { "@type" : "AstTextComment", "text" : " unique when called inside of a subplot context. Subplot IDs are hashed" }, { "@type" : "AstTextComment", "text" : " for your convenience so you don't have call PushID or generate unique title" }, { "@type" : "AstTextComment", "text" : " strings. Simply pass an empty string to BeginPlot unless you want to title" }, { "@type" : "AstTextComment", "text" : " each subplot." }, { "@type" : "AstTextComment", "text" : " - The #size parameter of _BeginPlot_ (see above) is ignored when inside of a" }, { "@type" : "AstTextComment", "text" : " subplot context. The actual size of the subplot will be based on the" }, { "@type" : "AstTextComment", "text" : " #size value you pass to _BeginSubplots_ and #row/#col_ratios if provided." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "title_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "rows", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "cols", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "size", "qualType" : "const int &", "desugaredQualType" : "const int &" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImPlotSubplotFlags", "desugaredQualType" : "int", "defaultValue" : "ImPlotSubplotFlags_None" }, { "@type" : "AstParmVarDecl", "name" : "row_ratios", "qualType" : "float *", "desugaredQualType" : "float *", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "col_ratios", "qualType" : "float *", "desugaredQualType" : "float *", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "EndSubplots", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Only call EndSubplots() if BeginSubplots() returns true! Typically called at the end" }, { "@type" : "AstTextComment", "text" : " of an if statement conditioned on BeginSublots(). See example above." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "PlotLineG", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "label_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "getter", "qualType" : "ImPlotPoint (*)(void *, int)", "desugaredQualType" : "ImPlotPoint (*)(void *, int)" }, { "@type" : "AstParmVarDecl", "name" : "data", "qualType" : "void *", "desugaredQualType" : "void *" }, { "@type" : "AstParmVarDecl", "name" : "count", "qualType" : "int", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "PlotScatterG", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "label_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "getter", "qualType" : "ImPlotPoint (*)(void *, int)", "desugaredQualType" : "ImPlotPoint (*)(void *, int)" }, { "@type" : "AstParmVarDecl", "name" : "data", "qualType" : "void *", "desugaredQualType" : "void *" }, { "@type" : "AstParmVarDecl", "name" : "count", "qualType" : "int", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "PlotStairsG", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "label_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "getter", "qualType" : "ImPlotPoint (*)(void *, int)", "desugaredQualType" : "ImPlotPoint (*)(void *, int)" }, { "@type" : "AstParmVarDecl", "name" : "data", "qualType" : "void *", "desugaredQualType" : "void *" }, { "@type" : "AstParmVarDecl", "name" : "count", "qualType" : "int", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "PlotShadedG", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "label_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "getter1", "qualType" : "ImPlotPoint (*)(void *, int)", "desugaredQualType" : "ImPlotPoint (*)(void *, int)" }, { "@type" : "AstParmVarDecl", "name" : "data1", "qualType" : "void *", "desugaredQualType" : "void *" }, { "@type" : "AstParmVarDecl", "name" : "getter2", "qualType" : "ImPlotPoint (*)(void *, int)", "desugaredQualType" : "ImPlotPoint (*)(void *, int)" }, { "@type" : "AstParmVarDecl", "name" : "data2", "qualType" : "void *", "desugaredQualType" : "void *" }, { "@type" : "AstParmVarDecl", "name" : "count", "qualType" : "int", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "PlotBarsG", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "label_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "getter", "qualType" : "ImPlotPoint (*)(void *, int)", "desugaredQualType" : "ImPlotPoint (*)(void *, int)" }, { "@type" : "AstParmVarDecl", "name" : "data", "qualType" : "void *", "desugaredQualType" : "void *" }, { "@type" : "AstParmVarDecl", "name" : "count", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "width", "qualType" : "double", "desugaredQualType" : "double" } ] }, { "@type" : "AstFunctionDecl", "name" : "PlotBarsHG", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "label_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "getter", "qualType" : "ImPlotPoint (*)(void *, int)", "desugaredQualType" : "ImPlotPoint (*)(void *, int)" }, { "@type" : "AstParmVarDecl", "name" : "data", "qualType" : "void *", "desugaredQualType" : "void *" }, { "@type" : "AstParmVarDecl", "name" : "count", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "height", "qualType" : "double", "desugaredQualType" : "double" } ] }, { "@type" : "AstFunctionDecl", "name" : "PlotDigitalG", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "label_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "getter", "qualType" : "ImPlotPoint (*)(void *, int)", "desugaredQualType" : "ImPlotPoint (*)(void *, int)" }, { "@type" : "AstParmVarDecl", "name" : "data", "qualType" : "void *", "desugaredQualType" : "void *" }, { "@type" : "AstParmVarDecl", "name" : "count", "qualType" : "int", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "PlotImage", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Plots an axis-aligned image. #bounds_min/bounds_max are in plot coordinates (y-up) and #uv0/uv1 are in texture coordinates (y-down)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "label_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "user_texture_id", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "bounds_min", "qualType" : "const ImPlotPoint &", "desugaredQualType" : "const ImPlotPoint &" }, { "@type" : "AstParmVarDecl", "name" : "bounds_max", "qualType" : "const ImPlotPoint &", "desugaredQualType" : "const ImPlotPoint &" }, { "@type" : "AstParmVarDecl", "name" : "uv0", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "ImVec2(0,0)" }, { "@type" : "AstParmVarDecl", "name" : "uv1", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "ImVec2(1,1)" }, { "@type" : "AstParmVarDecl", "name" : "tint_col", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "ImVec4(1,1,1,1)" } ] }, { "@type" : "AstFunctionDecl", "name" : "PlotText", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Plots a centered text label at point x,y with an optional pixel offset. Text color can be changed with ImPlot::PushStyleColor(ImPlotCol_InlayText, ...)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "text", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "x", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "y", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "vertical", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "false" }, { "@type" : "AstParmVarDecl", "name" : "pix_offset", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "ImVec2(0,0)" } ] }, { "@type" : "AstFunctionDecl", "name" : "PlotDummy", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Plots a dummy item (i.e. adds a legend entry colored by ImPlotCol_Line)" } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "label_id", "qualType" : "const char *", "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextPlotLimits", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the axes range limits of the next plot. Call right before BeginPlot(). If ImGuiCond_Always is used, the axes limits will be locked." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "xmin", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "xmax", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "ymin", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "ymax", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "cond", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextPlotLimitsX", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the X axis range limits of the next plot. Call right before BeginPlot(). If ImGuiCond_Always is used, the X axis limits will be locked." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "xmin", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "xmax", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "cond", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextPlotLimitsY", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the Y axis range limits of the next plot. Call right before BeginPlot(). If ImGuiCond_Always is used, the Y axis limits will be locked." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "ymin", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "ymax", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "cond", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "ImPlotYAxis_1" } ] }, { "@type" : "AstFunctionDecl", "name" : "LinkNextPlotLimits", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Links the next plot limits to external values. Set to NULL for no linkage. The pointer data must remain valid until the matching call to EndPlot." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "xmin", "qualType" : "double *", "desugaredQualType" : "double *" }, { "@type" : "AstParmVarDecl", "name" : "xmax", "qualType" : "double *", "desugaredQualType" : "double *" }, { "@type" : "AstParmVarDecl", "name" : "ymin", "qualType" : "double *", "desugaredQualType" : "double *" }, { "@type" : "AstParmVarDecl", "name" : "ymax", "qualType" : "double *", "desugaredQualType" : "double *" }, { "@type" : "AstParmVarDecl", "name" : "ymin2", "qualType" : "double *", "desugaredQualType" : "double *", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "ymax2", "qualType" : "double *", "desugaredQualType" : "double *", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "ymin3", "qualType" : "double *", "desugaredQualType" : "double *", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "ymax3", "qualType" : "double *", "desugaredQualType" : "double *", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "FitNextPlotAxes", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Fits the next plot axes to all plotted data if they are unlocked (equivalent to double-clicks)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "x", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "true" }, { "@type" : "AstParmVarDecl", "name" : "y", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "true" }, { "@type" : "AstParmVarDecl", "name" : "y2", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "true" }, { "@type" : "AstParmVarDecl", "name" : "y3", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "true" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextPlotTicksX", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the X axis ticks and optionally the labels for the next plot. To keep the default ticks, set #keep_default=true." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "values", "qualType" : "const double *", "desugaredQualType" : "const double *" }, { "@type" : "AstParmVarDecl", "name" : "n_ticks", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "labels", "qualType" : "const char *const *", "desugaredQualType" : "const char *const *", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "keep_default", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "false" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextPlotTicksX", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "x_min", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "x_max", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "n_ticks", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "labels", "qualType" : "const char *const *", "desugaredQualType" : "const char *const *", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "keep_default", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "false" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextPlotTicksY", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the Y axis ticks and optionally the labels for the next plot. To keep the default ticks, set #keep_default=true." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "values", "qualType" : "const double *", "desugaredQualType" : "const double *" }, { "@type" : "AstParmVarDecl", "name" : "n_ticks", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "labels", "qualType" : "const char *const *", "desugaredQualType" : "const char *const *", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "keep_default", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "false" }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "ImPlotYAxis_1" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextPlotTicksY", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "y_min", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "y_max", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "n_ticks", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "labels", "qualType" : "const char *const *", "desugaredQualType" : "const char *const *", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "keep_default", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "false" }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "ImPlotYAxis_1" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextPlotFormatX", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the format for numeric X axis labels (default=\"%g\"). Formated values will be doubles (i.e. don't supply %d, %i, etc.). Not applicable if ImPlotAxisFlags_Time enabled." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "fmt", "qualType" : "const char *", "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextPlotFormatY", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the format for numeric Y axis labels (default=\"%g\"). Formated values will be doubles (i.e. don't supply %d, %i, etc.)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "fmt", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "ImPlotYAxis_1" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetPlotYAxis", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Select which Y axis will be used for subsequent plot elements. The default is ImPlotYAxis_1, or the first (left) Y axis. Enable 2nd and 3rd axes with ImPlotFlags_YAxisX." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "HideNextItem", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Hides or shows the next plot item (i.e. as if it were toggled from the legend). Use ImGuiCond_Always if you need to forcefully set this every frame." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "hidden", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "true" }, { "@type" : "AstParmVarDecl", "name" : "cond", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "PixelsToPlot", "resultType" : "ImPlotPoint", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Convert pixels to a position in the current plot's coordinate system. A negative y_axis uses the current value of SetPlotYAxis (ImPlotYAxis_1 initially)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "pix", "qualType" : "const int &", "desugaredQualType" : "const int &" }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "PixelsToPlot", "resultType" : "ImPlotPoint", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "x", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstParmVarDecl", "name" : "y", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "PlotToPixels", "resultType" : "int", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Convert a position in the current plot's coordinate system to pixels. A negative y_axis uses the current value of SetPlotYAxis (ImPlotYAxis_1 initially)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "plt", "qualType" : "const ImPlotPoint &", "desugaredQualType" : "const ImPlotPoint &" }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "PlotToPixels", "resultType" : "int", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "x", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "y", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "GetPlotPos", "resultType" : "int", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Get the current Plot position (top-left) in pixels." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "GetPlotSize", "resultType" : "int", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Get the curent Plot size in pixels." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "IsPlotHovered", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns true if the plot area in the current plot is hovered." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "IsPlotXAxisHovered", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns true if the XAxis plot area in the current plot is hovered." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "IsPlotYAxisHovered", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns true if the YAxis[n] plot area in the current plot is hovered." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", "name" : "GetPlotMousePos", "resultType" : "ImPlotPoint", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns the mouse position in x,y coordinates of the current plot. A negative y_axis uses the current value of SetPlotYAxis (ImPlotYAxis_1 initially)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "GetPlotLimits", "resultType" : "ImPlotLimits", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns the current plot axis range. A negative y_axis uses the current value of SetPlotYAxis (ImPlotYAxis_1 initially)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "IsPlotSelected", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns true if the current plot is being box selected." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "GetPlotSelection", "resultType" : "ImPlotLimits", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns the current plot box selection bounds." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "IsPlotQueried", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns true if the current plot is being queried or has an active query. Query must be enabled with ImPlotFlags_Query." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "GetPlotQuery", "resultType" : "ImPlotLimits", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns the current plot query bounds. Query must be enabled with ImPlotFlags_Query." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetPlotQuery", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the current plot query bounds. Query must be enabled with ImPlotFlags_Query." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "query", "qualType" : "const ImPlotLimits &", "desugaredQualType" : "const ImPlotLimits &" }, { "@type" : "AstParmVarDecl", "name" : "y_axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "IsSubplotsHovered", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns true if the bounding frame of a subplot is hovered/" } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "BeginAlignedPlots", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Align axis padding over multiple plots in a single row or column. If this function returns true, EndAlignedPlots() must be called. #group_id must be unique." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "group_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "orientation", "qualType" : "ImPlotOrientation", "desugaredQualType" : "int", "defaultValue" : "ImPlotOrientation_Vertical" } ] }, { "@type" : "AstFunctionDecl", "name" : "EndAlignedPlots", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Only call EndAlignedPlots() if BeginAlignedPlots() returns true!" } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "DragLineX", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Shows a draggable vertical guide line at an x-value. #col defaults to ImGuiCol_Text." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "x_value", "qualType" : "double *", "desugaredQualType" : "double *" }, { "@type" : "AstParmVarDecl", "name" : "show_label", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "true" }, { "@type" : "AstParmVarDecl", "name" : "col", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "IMPLOT_AUTO_COL" }, { "@type" : "AstParmVarDecl", "name" : "thickness", "qualType" : "float", "desugaredQualType" : "float", "defaultValue" : "1" } ] }, { "@type" : "AstFunctionDecl", "name" : "DragLineY", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Shows a draggable horizontal guide line at a y-value. #col defaults to ImGuiCol_Text." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "y_value", "qualType" : "double *", "desugaredQualType" : "double *" }, { "@type" : "AstParmVarDecl", "name" : "show_label", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "true" }, { "@type" : "AstParmVarDecl", "name" : "col", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "IMPLOT_AUTO_COL" }, { "@type" : "AstParmVarDecl", "name" : "thickness", "qualType" : "float", "desugaredQualType" : "float", "defaultValue" : "1" } ] }, { "@type" : "AstFunctionDecl", "name" : "DragPoint", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Shows a draggable point at x,y. #col defaults to ImGuiCol_Text." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "x", "qualType" : "double *", "desugaredQualType" : "double *" }, { "@type" : "AstParmVarDecl", "name" : "y", "qualType" : "double *", "desugaredQualType" : "double *" }, { "@type" : "AstParmVarDecl", "name" : "show_label", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "true" }, { "@type" : "AstParmVarDecl", "name" : "col", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "IMPLOT_AUTO_COL" }, { "@type" : "AstParmVarDecl", "name" : "radius", "qualType" : "float", "desugaredQualType" : "float", "defaultValue" : "4" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetLegendLocation", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the location of the current plot's (or subplot's) legend." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "location", "qualType" : "ImPlotLocation", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "orientation", "qualType" : "ImPlotOrientation", "desugaredQualType" : "int", "defaultValue" : "ImPlotOrientation_Vertical" }, { "@type" : "AstParmVarDecl", "name" : "outside", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "false" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetMousePosLocation", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the location of the current plot's mouse position text (default = South|East)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "location", "qualType" : "ImPlotLocation", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "IsLegendEntryHovered", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns true if a plot item legend entry is hovered." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "label_id", "qualType" : "const char *", "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", "name" : "BeginLegendPopup", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Begin a popup for a legend entry." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "label_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "mouse_button", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "1" } ] }, { "@type" : "AstFunctionDecl", "name" : "EndLegendPopup", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " End a popup for a legend entry." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "BeginDragDropTarget", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Turns the current plot's plotting area into a drag and drop target. Don't forget to call EndDragDropTarget!" } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "BeginDragDropTargetX", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Turns the current plot's X-axis into a drag and drop target. Don't forget to call EndDragDropTarget!" } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "BeginDragDropTargetY", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Turns the current plot's Y-Axis into a drag and drop target. Don't forget to call EndDragDropTarget!" } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "ImPlotYAxis_1" } ] }, { "@type" : "AstFunctionDecl", "name" : "BeginDragDropTargetLegend", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Turns the current plot's legend into a drag and drop target. Don't forget to call EndDragDropTarget!" } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "EndDragDropTarget", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Ends a drag and drop target (currently just an alias for ImGui::EndDragDropTarget)." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "BeginDragDropSource", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Turns the current plot's plotting area into a drag and drop source. Don't forget to call EndDragDropSource!" } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "key_mods", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", "name" : "BeginDragDropSourceX", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Turns the current plot's X-axis into a drag and drop source. Don't forget to call EndDragDropSource!" } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "key_mods", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", "name" : "BeginDragDropSourceY", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Turns the current plot's Y-axis into a drag and drop source. Don't forget to call EndDragDropSource!" } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "axis", "qualType" : "ImPlotYAxis", "desugaredQualType" : "int", "defaultValue" : "ImPlotYAxis_1" }, { "@type" : "AstParmVarDecl", "name" : "key_mods", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", "name" : "BeginDragDropSourceItem", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Turns an item in the current plot's legend into drag and drop source. Don't forget to call EndDragDropSource!" } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "label_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", "name" : "EndDragDropSource", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Ends a drag and drop source (currently just an alias for ImGui::EndDragDropSource)." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "GetStyle", "resultType" : "ImPlotStyle &", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Provides access to plot style structure for permanant modifications to colors, sizes, etc." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "StyleColorsAuto", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Style plot colors for current ImGui style (default)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "dst", "qualType" : "ImPlotStyle *", "desugaredQualType" : "ImPlotStyle *", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "StyleColorsClassic", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Style plot colors for ImGui \"Classic\"." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "dst", "qualType" : "ImPlotStyle *", "desugaredQualType" : "ImPlotStyle *", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "StyleColorsDark", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Style plot colors for ImGui \"Dark\"." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "dst", "qualType" : "ImPlotStyle *", "desugaredQualType" : "ImPlotStyle *", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "StyleColorsLight", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Style plot colors for ImGui \"Light\"." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "dst", "qualType" : "ImPlotStyle *", "desugaredQualType" : "ImPlotStyle *", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "PushStyleColor", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Temporarily modify a style color. Don't forget to call PopStyleColor!" } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "idx", "qualType" : "ImPlotCol", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "col", "qualType" : "int", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "PushStyleColor", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "idx", "qualType" : "ImPlotCol", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "col", "qualType" : "const int &", "desugaredQualType" : "const int &" } ] }, { "@type" : "AstFunctionDecl", "name" : "PopStyleColor", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Undo temporary style color modification(s). Undo multiple pushes at once by increasing count." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "count", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "1" } ] }, { "@type" : "AstFunctionDecl", "name" : "PushStyleVar", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Temporarily modify a style variable of float type. Don't forget to call PopStyleVar!" } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "idx", "qualType" : "ImPlotStyleVar", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "val", "qualType" : "float", "desugaredQualType" : "float" } ] }, { "@type" : "AstFunctionDecl", "name" : "PushStyleVar", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Temporarily modify a style variable of int type. Don't forget to call PopStyleVar!" } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "idx", "qualType" : "ImPlotStyleVar", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "val", "qualType" : "int", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "PushStyleVar", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Temporarily modify a style variable of ImVec2 type. Don't forget to call PopStyleVar!" } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "idx", "qualType" : "ImPlotStyleVar", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "val", "qualType" : "const int &", "desugaredQualType" : "const int &" } ] }, { "@type" : "AstFunctionDecl", "name" : "PopStyleVar", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Undo temporary style variable modification(s). Undo multiple pushes at once by increasing count." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "count", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "1" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextLineStyle", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the line color and weight for the next item only." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "col", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "IMPLOT_AUTO_COL" }, { "@type" : "AstParmVarDecl", "name" : "weight", "qualType" : "float", "desugaredQualType" : "float", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextFillStyle", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the fill color for the next item only." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "col", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "IMPLOT_AUTO_COL" }, { "@type" : "AstParmVarDecl", "name" : "alpha_mod", "qualType" : "float", "desugaredQualType" : "float", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextMarkerStyle", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the marker style for the next item only." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "marker", "qualType" : "ImPlotMarker", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" }, { "@type" : "AstParmVarDecl", "name" : "size", "qualType" : "float", "desugaredQualType" : "float", "defaultValue" : "IMPLOT_AUTO" }, { "@type" : "AstParmVarDecl", "name" : "fill", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "IMPLOT_AUTO_COL" }, { "@type" : "AstParmVarDecl", "name" : "weight", "qualType" : "float", "desugaredQualType" : "float", "defaultValue" : "IMPLOT_AUTO" }, { "@type" : "AstParmVarDecl", "name" : "outline", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "IMPLOT_AUTO_COL" } ] }, { "@type" : "AstFunctionDecl", "name" : "SetNextErrorBarStyle", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Set the error bar style for the next item only." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "col", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "IMPLOT_AUTO_COL" }, { "@type" : "AstParmVarDecl", "name" : "size", "qualType" : "float", "desugaredQualType" : "float", "defaultValue" : "IMPLOT_AUTO" }, { "@type" : "AstParmVarDecl", "name" : "weight", "qualType" : "float", "desugaredQualType" : "float", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "GetLastItemColor", "resultType" : "int", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Gets the last item primary color (i.e. its legend icon color)" } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "GetStyleColorName", "resultType" : "const char *", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns the null terminated string name for an ImPlotCol." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "idx", "qualType" : "ImPlotCol", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "GetMarkerName", "resultType" : "const char *", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns the null terminated string name for an ImPlotMarker." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "idx", "qualType" : "ImPlotMarker", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "AddColormap", "resultType" : "ImPlotColormap", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Add a new colormap. The color data will be copied. The colormap can be used by pushing either the returned index or the" }, { "@type" : "AstTextComment", "text" : " string name with PushColormap. The colormap name must be unique and the size must be greater than 1. You will receive" }, { "@type" : "AstTextComment", "text" : " an assert otherwise! By default colormaps are considered to be qualitative (i.e. discrete). If you want to create a" }, { "@type" : "AstTextComment", "text" : " continuous colormap, set #qual=false. This will treat the colors you provide as keys, and ImPlot will build a linearly" }, { "@type" : "AstTextComment", "text" : " interpolated lookup table. The memory footprint of this table will be exactly ((size-1)*255+1)*4 bytes." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "name", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "cols", "qualType" : "const int *", "desugaredQualType" : "const int *" }, { "@type" : "AstParmVarDecl", "name" : "size", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "qual", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "true" } ] }, { "@type" : "AstFunctionDecl", "name" : "AddColormap", "resultType" : "ImPlotColormap", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "name", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "cols", "qualType" : "const int *", "desugaredQualType" : "const int *" }, { "@type" : "AstParmVarDecl", "name" : "size", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "qual", "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "true" } ] }, { "@type" : "AstFunctionDecl", "name" : "GetColormapCount", "resultType" : "int", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns the number of available colormaps (i.e. the built-in + user-added count)." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "GetColormapName", "resultType" : "const char *", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns a null terminated string name for a colormap given an index. Returns NULL if index is invalid." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "cmap", "qualType" : "ImPlotColormap", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "GetColormapIndex", "resultType" : "ImPlotColormap", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns an index number for a colormap given a valid string name. Returns -1 if name is invalid." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "name", "qualType" : "const char *", "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", "name" : "PushColormap", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Temporarily switch to one of the built-in (i.e. ImPlotColormap_XXX) or user-added colormaps (i.e. a return value of AddColormap). Don't forget to call PopColormap!" } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "cmap", "qualType" : "ImPlotColormap", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "PushColormap", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Push a colormap by string name. Use built-in names such as \"Default\", \"Deep\", \"Jet\", etc. or a string you provided to AddColormap. Don't forget to call PopColormap!" } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "name", "qualType" : "const char *", "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", "name" : "PopColormap", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Undo temporary colormap modification(s). Undo multiple pushes at once by increasing count." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "count", "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "1" } ] }, { "@type" : "AstFunctionDecl", "name" : "NextColormapColor", "resultType" : "int", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns the next color from the current colormap and advances the colormap for the current plot." }, { "@type" : "AstTextComment", "text" : " Can also be used with no return value to skip colors if desired. You need to call this between Begin/EndPlot!" } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "GetColormapSize", "resultType" : "int", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns the size of a colormap." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "cmap", "qualType" : "ImPlotColormap", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "GetColormapColor", "resultType" : "int", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Returns a color from a colormap given an index >= 0 (modulo will be performed)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "idx", "qualType" : "int", "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "cmap", "qualType" : "ImPlotColormap", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "SampleColormap", "resultType" : "int", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Sample a color from the current colormap given t between 0 and 1." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "t", "qualType" : "float", "desugaredQualType" : "float" }, { "@type" : "AstParmVarDecl", "name" : "cmap", "qualType" : "ImPlotColormap", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "ColormapScale", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Shows a vertical color scale with linear spaced ticks using the specified color map. Use double hashes to hide label (e.g. \"##NoLabel\")." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "label", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "scale_min", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "scale_max", "qualType" : "double", "desugaredQualType" : "double" }, { "@type" : "AstParmVarDecl", "name" : "size", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "ImVec2(0,0)" }, { "@type" : "AstParmVarDecl", "name" : "cmap", "qualType" : "ImPlotColormap", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" }, { "@type" : "AstParmVarDecl", "name" : "fmt", "qualType" : "const char *", "desugaredQualType" : "const char *", "defaultValue" : "\"%g\"" } ] }, { "@type" : "AstFunctionDecl", "name" : "ColormapSlider", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Shows a horizontal slider with a colormap gradient background. Optionally returns the color sampled at t in [0 1]." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "label", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "t", "qualType" : "float *", "desugaredQualType" : "float *" }, { "@type" : "AstParmVarDecl", "name" : "out", "qualType" : "int *", "desugaredQualType" : "int *", "defaultValue" : "=" }, { "@type" : "AstParmVarDecl", "name" : "format", "qualType" : "const char *", "desugaredQualType" : "const char *", "defaultValue" : "\"\"" }, { "@type" : "AstParmVarDecl", "name" : "cmap", "qualType" : "ImPlotColormap", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "ColormapButton", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Shows a button with a colormap gradient brackground." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "label", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "size", "qualType" : "const int &", "desugaredQualType" : "const int &", "defaultValue" : "ImVec2(0,0)" }, { "@type" : "AstParmVarDecl", "name" : "cmap", "qualType" : "ImPlotColormap", "desugaredQualType" : "int", "defaultValue" : "IMPLOT_AUTO" } ] }, { "@type" : "AstFunctionDecl", "name" : "BustColorCache", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " When items in a plot sample their color from a colormap, the color is cached and does not change" }, { "@type" : "AstTextComment", "text" : " unless explicitly overriden. Therefore, if you change the colormap after the item has already been plotted," }, { "@type" : "AstTextComment", "text" : " item colors will NOT update. If you need item colors to resample the new colormap, then use this" }, { "@type" : "AstTextComment", "text" : " function to bust the cached colors. If #plot_title_id is NULL, then every item in EVERY existing plot" }, { "@type" : "AstTextComment", "text" : " will be cache busted. Otherwise only the plot specified by #plot_title_id will be busted. For the" }, { "@type" : "AstTextComment", "text" : " latter, this function must be called in the same ImGui ID scope that the plot is in. You should rarely if ever" }, { "@type" : "AstTextComment", "text" : " need this function, but it is available for applications that require runtime colormap swaps (e.g. Heatmaps demo)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "plot_title_id", "qualType" : "const char *", "desugaredQualType" : "const char *", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "ItemIcon", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Render icons similar to those that appear in legends (nifty for data lists)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "col", "qualType" : "const int &", "desugaredQualType" : "const int &" } ] }, { "@type" : "AstFunctionDecl", "name" : "ItemIcon", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "col", "qualType" : "int", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "ColormapIcon", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "cmap", "qualType" : "ImPlotColormap", "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", "name" : "GetPlotDrawList", "resultType" : "int *", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Get the plot draw list for custom rendering to the current plot area. Call between Begin/EndPlot." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "PushPlotClipRect", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Push clip rect for rendering to current plot area. The rect can be expanded or contracted by #expand pixels. Call between Begin/EndPlot." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "expand", "qualType" : "float", "desugaredQualType" : "float", "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", "name" : "PopPlotClipRect", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Pop plot clip rect. Call between Begin/EndPlot." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "ShowStyleSelector", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Shows ImPlot style selector dropdown menu." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "label", "qualType" : "const char *", "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", "name" : "ShowColormapSelector", "resultType" : "bool", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Shows ImPlot colormap selector dropdown menu." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "label", "qualType" : "const char *", "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", "name" : "ShowStyleEditor", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Shows ImPlot style editor block (not a window)." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "ref", "qualType" : "ImPlotStyle *", "desugaredQualType" : "ImPlotStyle *", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "ShowUserGuide", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Add basic help/info block for end users (not a window)." } ] } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "ShowMetricsWindow", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Shows ImPlot metrics/debug information window." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "p_popen", "qualType" : "bool *", "desugaredQualType" : "bool *", "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", "name" : "ShowDemoWindow", "resultType" : "void", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", "text" : " Shows the ImPlot demo window." } ] } ] }, { "@type" : "AstParmVarDecl", "name" : "p_open", "qualType" : "bool *", "desugaredQualType" : "bool *", "defaultValue" : "=" } ] } ] } ] }