LibGfx: Rename Painter => DeprecatedPainter

This commit is contained in:
Andreas Kling 2024-07-05 10:40:29 +02:00 committed by Andreas Kling
commit 0c7670b226
Notes: github-actions[bot] 2024-08-20 07:38:33 +00:00
31 changed files with 119 additions and 120 deletions

View file

@ -135,7 +135,7 @@ private:
PreparedText prepare_text(ByteString const& text, float max_width = INFINITY);
Gfx::Painter* painter();
Gfx::DeprecatedPainter* painter();
Optional<Gfx::AntiAliasingPainter> antialiased_painter();
Gfx::Path rect_path(float x, float y, float width, float height);
@ -147,7 +147,7 @@ private:
void clip_internal(Gfx::Path&, Gfx::WindingRule);
JS::NonnullGCPtr<HTMLCanvasElement> m_element;
OwnPtr<Gfx::Painter> m_painter;
OwnPtr<Gfx::DeprecatedPainter> m_painter;
// https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-origin-clean
bool m_origin_clean { true };