MCPcopy Create free account
hub / github.com/KaisenAmin/c_std / plot_color

Function plot_color

plot/plot.h:185–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183PlotColor plot_color_hex (unsigned int rgb_or_rgba);
184
185static inline PlotColor plot_color(unsigned char r, unsigned char g, unsigned char b, unsigned char a) {
186 PlotColor c = { r, g, b, a };
187 return c;
188}
189
190
191/* ------------------------------------------------------------------ */

Callers 5

mainFunction · 0.85
plot_createFunction · 0.85
plot_color_rgbFunction · 0.85
plot_color_hexFunction · 0.85
plot_get_series_colorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected