mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:07:36 +00:00
SharedGraphics: Make Painter clipping work with translated clip origin.
This commit is contained in:
parent
8eefdbdce8
commit
fd428d6ed3
6 changed files with 20 additions and 9 deletions
|
@ -62,6 +62,7 @@ private:
|
|||
const Font* m_font;
|
||||
Point m_translation;
|
||||
Rect m_clip_rect;
|
||||
Rect m_clip_origin;
|
||||
GWindow* m_window { nullptr };
|
||||
Retained<GraphicsBitmap> m_target;
|
||||
DrawOp m_draw_op { DrawOp::Copy };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue