MCPcopy Create free account
hub / github.com/DISTRHO/DPF / boxGradient

Method boxGradient

dgl/src/NanoVG.cpp:788–792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786}
787
788NanoVG::Paint NanoVG::boxGradient(float x, float y, float w, float h, float r, float f, const Color& icol, const Color& ocol)
789{
790 if (fContext == nullptr) return Paint();
791 return nvgBoxGradient(fContext, x, y, w, h, r, f, icol, ocol);
792}
793
794NanoVG::Paint NanoVG::radialGradient(float cx, float cy, float inr, float outr, const Color& icol, const Color& ocol)
795{

Callers

nothing calls this directly

Calls 2

PaintClass · 0.85
nvgBoxGradientFunction · 0.85

Tested by

no test coverage detected