mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibGfx: Rename Painter => DeprecatedPainter
This commit is contained in:
parent
099956a7cd
commit
0c7670b226
Notes:
github-actions[bot]
2024-08-20 07:38:33 +00:00
Author: https://github.com/awesomekling
Commit: 0c7670b226
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1024
31 changed files with 119 additions and 120 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue