mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -20,8 +20,8 @@ public:
|
|||
m_states.append(State());
|
||||
}
|
||||
|
||||
const Gfx::Color& fill_color() const { return state().fill_color; }
|
||||
const Gfx::Color& stroke_color() const { return state().stroke_color; }
|
||||
Gfx::Color const& fill_color() const { return state().fill_color; }
|
||||
Gfx::Color const& stroke_color() const { return state().stroke_color; }
|
||||
float stroke_width() const { return state().stroke_width; }
|
||||
|
||||
void set_fill_color(Gfx::Color color) { state().fill_color = color; }
|
||||
|
@ -40,7 +40,7 @@ private:
|
|||
float stroke_width { 1.0 };
|
||||
};
|
||||
|
||||
const State& state() const { return m_states.last(); }
|
||||
State const& state() const { return m_states.last(); }
|
||||
State& state() { return m_states.last(); }
|
||||
|
||||
Gfx::FloatRect m_svg_element_bounds;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
namespace Web::SVG {
|
||||
|
||||
[[maybe_unused]] static void print_instruction(const PathInstruction& instruction)
|
||||
[[maybe_unused]] static void print_instruction(PathInstruction const& instruction)
|
||||
{
|
||||
VERIFY(PATH_DEBUG);
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ public:
|
|||
SVGPathElement(DOM::Document&, DOM::QualifiedName);
|
||||
virtual ~SVGPathElement() override = default;
|
||||
|
||||
virtual void parse_attribute(const FlyString& name, const String& value) override;
|
||||
virtual void parse_attribute(FlyString const& name, String const& value) override;
|
||||
|
||||
virtual Gfx::Path& get_path() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue