Patterns
Closed this issue · 1 comments
mikowitz commented
Add support for setting patterns as the source:
LinearGradient
- new/4
- linear_points/1
- add_color_stop_rgb/5
- add_color_stop_rgba/6
- color_stop_count/1
- color_stop_rgba/2
RadialGradient
- new/6
- radial_circles/1
- add_color_stop_rgb/5
- add_color_stop_rgba/6
- color_stop_count/1
- color_stop_rgba/2
SolidPattern
- from_rgb/3
- from_rgba/4
- rgba/1
SurfacePattern
- create/1
- surface/1
Context
- set_source/2
- source/1
requires the PatternType
enum
Mesh will have its own ticket due to the more involved implementation.
This also ignores much of the shared Pattern
implementation (filters, matrices, etc.) which is less important for simple use cases, but will be added later