LibGfx: Rename Path => DeprecatedPath

This commit is contained in:
Andreas Kling 2024-08-08 10:22:03 +02:00 committed by Andreas Kling
commit c8f09312f7
Notes: github-actions[bot] 2024-08-20 07:38:22 +00:00
61 changed files with 216 additions and 216 deletions

View file

@ -11,9 +11,9 @@
#include <AK/Variant.h>
#include <LibGfx/AffineTransform.h>
#include <LibGfx/Color.h>
#include <LibGfx/DeprecatedPath.h>
#include <LibGfx/Forward.h>
#include <LibGfx/Painter.h>
#include <LibGfx/Path.h>
#include <LibGfx/PathClipper.h>
#include <LibWeb/Bindings/PlatformObject.h>
#include <LibWeb/HTML/Canvas/CanvasCompositing.h>
@ -124,13 +124,13 @@ private:
PreparedText prepare_text(ByteString const& text, float max_width = INFINITY);
Gfx::Path rect_path(float x, float y, float width, float height);
Gfx::DeprecatedPath rect_path(float x, float y, float width, float height);
Gfx::Path text_path(StringView text, float x, float y, Optional<double> max_width);
Gfx::DeprecatedPath text_path(StringView text, float x, float y, Optional<double> max_width);
void stroke_internal(Gfx::Path const&);
void fill_internal(Gfx::Path const&, Gfx::WindingRule);
void clip_internal(Gfx::Path&, Gfx::WindingRule);
void stroke_internal(Gfx::DeprecatedPath const&);
void fill_internal(Gfx::DeprecatedPath const&, Gfx::WindingRule);
void clip_internal(Gfx::DeprecatedPath&, Gfx::WindingRule);
JS::NonnullGCPtr<HTMLCanvasElement> m_element;
OwnPtr<Gfx::Painter> m_painter;