mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
LibGfx+Everywhere: Make DisjointRectSet work for non-int Rects
For convenience, `DisjointIntRectSet` is an alias for `DisjointRectSet<int>`, and is used everywhere for now.
This commit is contained in:
parent
f52413a70e
commit
ff0a2b1a60
Notes:
sideshowbarker
2024-07-17 05:03:26 +09:00
Author: https://github.com/AtkinsSJ
Commit: ff0a2b1a60
Pull-request: https://github.com/SerenityOS/serenity/pull/15808
13 changed files with 67 additions and 59 deletions
|
@ -56,8 +56,8 @@ public:
|
|||
Gfx::IntRect rect() const;
|
||||
Gfx::IntRect render_rect() const;
|
||||
Gfx::IntRect unconstrained_render_rect() const;
|
||||
Gfx::DisjointRectSet opaque_render_rects() const;
|
||||
Gfx::DisjointRectSet transparent_render_rects() const;
|
||||
Gfx::DisjointIntRectSet opaque_render_rects() const;
|
||||
Gfx::DisjointIntRectSet transparent_render_rects() const;
|
||||
|
||||
void paint(Screen&, Gfx::Painter&, Gfx::IntRect const&);
|
||||
void render(Screen&, Gfx::Painter&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue