'Extend' feature for patterns ?

Oct 14, 2009 at 11:41pm

'Extend' feature for patterns ?

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

#45877
Oct 15, 2009 at 9:07pm

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…

#165361
Oct 16, 2009 at 1:02am

Good to know. Thanks.

- Luigi

#165362

You must be logged in to reply to this topic.