ladybird/Userland
MacDue c8c065b6b0 LibWeb+LibGfx: Migrate (most of) the CSS gradient painting to LibGfx
This moves the CSS gradient painting to the painter creating:

 - Painter::fill_rect_with_linear_gradient()
 - Painter::fill_rect_with_conic_gradient()
 - Painter::fill_rect_with_radial_gradient()

This has a few benefits:
 - The gradients can now easily respect the painter scale
 - The Painter::fill_pixels() escape hatch can be removed
 - We can remove the old fixed color stop gradient code
    - The old functions are  now just a shim
 - Anywhere can now easily use this gradient painting code!

This only leaves the color stop resolution in LibWeb (which is fine).
Just means in LibGfx you have to actually specify color stop positions.

(Also while here add a small optimization to avoid generating
excessively long gradient lines)
2023-01-10 10:25:58 +01:00
..
Applets LibGUI+Everywhere: Use fallible Window::set_main_widget() everywhere :^) 2023-01-06 13:36:02 -07:00
Applications AK+Everywhere: Rename Utf16View::to_utf8 to to_deprecated_string 2023-01-09 23:00:24 +00:00
BuggieBox
Demos LibGfx: Make Rect::align_within() correct for TopCenter and BottomCenter 2023-01-09 19:54:26 +01:00
DevTools AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
DynamicLoader Everywhere: Remove "LibC/" includes, add lint-rule against it 2023-01-07 10:01:37 -07:00
Games Chess: Port to Core::Stream 2023-01-07 20:05:24 +00:00
Libraries LibWeb+LibGfx: Migrate (most of) the CSS gradient painting to LibGfx 2023-01-10 10:25:58 +01:00
Services LibWeb+WebContent: Use new String class in CSS::StyleValue 2023-01-09 11:09:31 +01:00
Shell Userland: Silence warnings from ElapsedTimer::elapsed() type change 2023-01-07 14:51:04 +01:00
Utilities LibGfx+icc: Look at profile_size field 2023-01-08 23:41:14 +01:00
CMakeLists.txt