'Extend' feature for patterns ?

Luigi Castelli's icon

Hi C74,

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 ?

Many thanks.

- Luigi

Timothy Place's icon

Hi Luigi,

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...

Luigi Castelli's icon

Good to know. Thanks.

- Luigi