I am playing around with linear gradients in the JGraphics API.
Every attempt of using the function jgraphics_pattern_set_extend() with its different flags (JGRAPHICS_EXTEND_NONE, JGRAPHICS_EXTEND_REPEAT, JGRAPHICS_EXTEND_REFLECT, JGRAPHICS_EXTEND_PAD) doesn’t produce any difference in how gradients are generated and displayed.
Is the extend feature supported for linear gradients ?
If so, can someone post some example code on how to use it ?
I’ve asked around, and it turns out that JUCE doesn’t support these directly and the existence of these in the Max SDK is merely to serve as placeholders.
The next version of the SDK will be documented accordingly.
Sorry to disappoint…
Good to know. Thanks.
C74 RSS Feed | © Copyright Cycling '74