|
Picasso API
2.8
|
Typedefs | |
| typedef enum _ps_wrap_type | ps_wrap_type |
| Fill type of pattern. | |
Enumerations | |
| enum | _ps_wrap_type { WRAP_TYPE_REPEAT, WRAP_TYPE_REFLECT } |
| Fill type of pattern. More... | |
Functions | |
| PEXPORT ps_pattern *PICAPI | ps_pattern_create_image (const ps_image *img, ps_wrap_type x_wrap, ps_wrap_type y_wrap, const ps_matrix *transform) |
| Create a new pattern with an existing image. More... | |
| PEXPORT void PICAPI | ps_pattern_transform (ps_pattern *pattern, const ps_matrix *matrix) |
| Transform the pattern object. More... | |
| PEXPORT ps_pattern *PICAPI | ps_pattern_ref (ps_pattern *pattern) |
| Increases the reference count of the pattern by 1. More... | |
| PEXPORT void PICAPI | ps_pattern_unref (ps_pattern *pattern) |
| Decrements the reference count for the pattern object. If the reference count on the pattern falls to 0, the pattern is freed. More... | |
| enum _ps_wrap_type |
| ps_pattern * ps_pattern_create_image | ( | const ps_image * | img, |
| ps_wrap_type | x_wrap, | ||
| ps_wrap_type | y_wrap, | ||
| const ps_matrix * | transform | ||
| ) |
Create a new pattern with an existing image.
| img | An existing image object which will be a tiled of pattern object. |
| x_wrap | The horizontal wrap type, of the required pattern. |
| y_wrap | The vertical wrap type, of the required pattern. |
| transform | A matrix that represents a transform for every tiled. If no transform needed, pass NULL. |
| ps_pattern * ps_pattern_ref | ( | ps_pattern * | pattern | ) |
Increases the reference count of the pattern by 1.
| pattern | Pointer to an existing pattern object. |
| void ps_pattern_transform | ( | ps_pattern * | pattern, |
| const ps_matrix * | matrix | ||
| ) |
Transform the pattern object.
| pattern | Pointer to an existing pattern object. |
| matrix | Pointer to an existing matrix object. |
| void ps_pattern_unref | ( | ps_pattern * | pattern | ) |
Decrements the reference count for the pattern object. If the reference count on the pattern falls to 0, the pattern is freed.
| pattern | Pointer to an existing pattern object. |
1.8.17