| 798 | } |
| 799 | |
| 800 | NanoVG::Paint NanoVG::imagePattern(float ox, float oy, float ex, float ey, float angle, const NanoImage& image, float alpha) |
| 801 | { |
| 802 | if (fContext == nullptr) return Paint(); |
| 803 | |
| 804 | const int imageId(image.fHandle.imageId); |
| 805 | DISTRHO_SAFE_ASSERT_RETURN(imageId != 0, Paint()); |
| 806 | |
| 807 | return nvgImagePattern(fContext, ox, oy, ex, ey, angle, imageId, alpha); |
| 808 | } |
| 809 | |
| 810 | // ----------------------------------------------------------------------- |
| 811 | // Scissoring |
nothing calls this directly
no test coverage detected