mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00:00
LibAccelGfx+LibWeb: Implement SetClipRect and ClearClipRect commands
This commit is contained in:
parent
9e4d697d23
commit
01d938c77b
5 changed files with 32 additions and 3 deletions
|
@ -57,15 +57,15 @@ CommandResult PaintingCommandExecutorGPU::draw_scaled_bitmap(Gfx::IntRect const&
|
|||
return CommandResult::Continue;
|
||||
}
|
||||
|
||||
CommandResult PaintingCommandExecutorGPU::set_clip_rect(Gfx::IntRect const&)
|
||||
CommandResult PaintingCommandExecutorGPU::set_clip_rect(Gfx::IntRect const& rect)
|
||||
{
|
||||
// FIXME
|
||||
painter().set_clip_rect(rect);
|
||||
return CommandResult::Continue;
|
||||
}
|
||||
|
||||
CommandResult PaintingCommandExecutorGPU::clear_clip_rect()
|
||||
{
|
||||
// FIXME
|
||||
painter().clear_clip_rect();
|
||||
return CommandResult::Continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue