mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-21 15:14:13 +00:00
Linear gradient painting is implemented in the following way: 1. The rectangle is divided into segments where each segment represents a simple linear gradient between an adjacent pair of stops. 2. Each quad is filled separately using a fragment shader that interpolates between two colors. For now `angle` and `repeat_length` parameters are ignored.
18 KiB
18 KiB