MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / GetKeyColor

Method GetKeyColor

Source/3rdParty/implot/implot_internal.h:416–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414 inline const ImU32* GetKeys(ImPlotColormap cmap) const { return &Keys[KeyOffsets[cmap]]; }
415 inline int GetKeyCount(ImPlotColormap cmap) const { return KeyCounts[cmap]; }
416 inline ImU32 GetKeyColor(ImPlotColormap cmap, int idx) const { return Keys[KeyOffsets[cmap]+idx]; }
417 inline void SetKeyColor(ImPlotColormap cmap, int idx, ImU32 value) { Keys[KeyOffsets[cmap]+idx] = value; RebuildTables(); }
418
419 inline const ImU32* GetTable(ImPlotColormap cmap) const { return &Tables[TableOffsets[cmap]]; }

Callers 3

NextColormapColorU32Function · 0.80
GetColormapColorU32Function · 0.80
ShowStyleEditorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected