A pattern is like a brush that is used to fill a path with. More...

+ Collaboration diagram for JPattern:

Typedefs

typedef struct _jpattern t_jpattern
 An instance of a jgraphics pattern.
 

Detailed Description

A pattern is like a brush that is used to fill a path with.

It could be a solid color but it could also be an image. You can draw to a surface and then from that surface create a pattern that can be used to fill another surface. For example, jgraphics_patter_create_for_surface(). There are also gradients: see jgraphics_pattern_create_linear() and jgraphics_pattern_create_radial().

  Copyright © 2015, Cycling '74