Jelle Raaijmakers
62ae4e878f
LibWeb: Implement support for drawing with CanvasPattern
...
We already had the API, but drawing to the canvas was not affected by
any created CanvasPattern. This moves CanvasPatternPaintStyle to LibGfx
so we don't have to reach into LibWeb, and implements the plumbing to
let Skia use images as a fill pattern.
2025-10-23 13:20:03 +01:00
Tim Ledbetter
0516c414d4
LibWeb: Don't draw shadows for transparent gradient fills
2025-10-21 18:55:08 +02:00
Aliaksandr Kalenik
1001ff2599
LibGfx+LibWeb: Delete unused PaintStyle::paint() implementations
...
These are unused since we moved to Skia and it's misleading to keep
them around.
2025-08-01 04:39:50 -04:00
Lucien Fiorini
97768d8927
LibGfx: Fix dynamic_cast undefined behavior on macOS
...
MacOS XCode 16 breaks dynamic_cast on final classes where the base
class has a has a virtual destructor defined in the header, which
creates a different virtual table per translation unit.
This is probably a regression in Apple's Clang that causes final
classes to be incorrectly aggressively optimized.
https://stackoverflow.com/questions/79192304/macos-xcode-16-breaks-dynamic-cast-for-final-types-defined-in-shared-library
2024-12-18 18:54:20 +01:00
Pavel Shliak
24b68259b4
LibGfx: Remove unnecessary include
2024-12-12 15:13:44 -07:00
Aliaksandr Kalenik
1e05457cd1
LibGfx: Delete unused paint styles
...
These are no longer used after we've switched to using Skia.
2024-11-11 02:46:35 +01:00
Pavel Shliak
b4e5afa8d5
LibGfx: Remove OffsetPaintStyle
2024-11-11 00:07:11 +01:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00