mirror of
https://github.com/RGBCube/serenity
synced 2025-10-29 01:22:34 +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. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Context.cpp | ||
| Context.h | ||
| Forward.h | ||
| GL.cpp | ||
| GL.h | ||
| Painter.cpp | ||
| Painter.h | ||
| Program.cpp | ||
| Program.h | ||