MCPcopy Create free account
hub / github.com/VCVRack/Rack / getNVGColor

Function getNVGColor

src/window/Svg.cpp:120–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118
119
120static NVGcolor getNVGColor(uint32_t color) {
121 return nvgRGBA(
122 (color >> 0) & 0xff,
123 (color >> 8) & 0xff,
124 (color >> 16) & 0xff,
125 (color >> 24) & 0xff);
126}
127
128
129/** Returns the parameterized value of the line p2--p3 where it intersects with p0--p1 */

Callers 1

svgDrawFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected