| 780 | // Paints |
| 781 | |
| 782 | NanoVG::Paint NanoVG::linearGradient(float sx, float sy, float ex, float ey, const Color& icol, const Color& ocol) |
| 783 | { |
| 784 | if (fContext == nullptr) return Paint(); |
| 785 | return nvgLinearGradient(fContext, sx, sy, ex, ey, icol, ocol); |
| 786 | } |
| 787 | |
| 788 | NanoVG::Paint NanoVG::boxGradient(float x, float y, float w, float h, float r, float f, const Color& icol, const Color& ocol) |
| 789 | { |
nothing calls this directly
no test coverage detected