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

Method radialGradient

dgl/src/NanoVG.cpp:794–798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794NanoVG::Paint NanoVG::radialGradient(float cx, float cy, float inr, float outr, const Color& icol, const Color& ocol)
795{
796 if (fContext == nullptr) return Paint();
797 return nvgRadialGradient(fContext, cx, cy, inr, outr, icol, ocol);
798}
799
800NanoVG::Paint NanoVG::imagePattern(float ox, float oy, float ex, float ey, float angle, const NanoImage& image, float alpha)
801{

Callers

nothing calls this directly

Calls 2

PaintClass · 0.85
nvgRadialGradientFunction · 0.85

Tested by

no test coverage detected