Graphite/node-graph/libraries
YohYamasaki 79d778a535
Add support for setting the spread method for gradient fills (#3953)
* Add spread method support for gradients

* Add GradientSpreadMethod enum (Pad, Repeat, Reflect) to vector-types

* Add radio buttons to gradient tool and fill properties panel

* Convert spread method when importing SVGs via usvg

* Sync backup gradient input when changing spread method

* Table<GradientStops> rendering is not yet updated for spread method

* Sync gradient tool options with layer's gradient

* Sync gradient_type and spread_method from the selected
  layer's existing gradient to the tool options bar when
  switching to the gradient tool

* Refactor has_gradient_on_selected_layers
  to reuse a new get_gradient_on_selected_layer helper

* Swap Reflect and Repeat order in UI radio buttons

* Fix alignment of the radio buttons in right panel

* Fix the position of the radio buttons in the tool

* Rename SpreadMethod to SetSpreadMethod

* Move default spread method omission logic
2026-04-14 08:09:57 +00:00
..
application-io Add a checkered background to transparent artboards and the infinite canvas (#4022) 2026-04-10 03:21:21 -07:00
canvas-utils Remove surface and window from ApplicationIo (#3941) 2026-04-09 20:12:53 +00:00
core-types Refactor transform decomposition API with skew support, add 'Decompose Skew' node, and fix stroke transform interpolation (#3973) 2026-03-28 20:47:32 -07:00
graphic-types Add a checkered background to transparent artboards and the infinite canvas (#4022) 2026-04-10 03:21:21 -07:00
no-std-types Fix artboards not exporting with transparency using Vello (#3921) 2026-03-23 01:20:54 +00:00
raster-types Remove sample based image hashing to avoid false equalities (#3980) 2026-04-04 11:46:08 +00:00
rendering Add support for setting the spread method for gradient fills (#3953) 2026-04-14 08:09:57 +00:00
vector-types Add support for setting the spread method for gradient fills (#3953) 2026-04-14 08:09:57 +00:00
wgpu-executor Add a checkered background to transparent artboards and the infinite canvas (#4022) 2026-04-10 03:21:21 -07:00