mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:58:12 +00:00
Revert "LibGfx: Add directional floating-point scaling to Painter"
This reverts commit ff76a5b8d2
.
This commit is contained in:
parent
f43adb816e
commit
381dcca2f6
4 changed files with 143 additions and 110 deletions
|
@ -20,7 +20,7 @@ Painter::Painter(Widget& widget)
|
|||
{
|
||||
state().font = &widget.font();
|
||||
auto origin_rect = widget.window_relative_rect();
|
||||
translate(origin_rect.location());
|
||||
state().translation = origin_rect.location();
|
||||
state().clip_rect = origin_rect.intersected(m_target->rect());
|
||||
m_clip_origin = state().clip_rect;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue