summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/AffineTransform.h
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-12-06 20:57:07 +0000
committerAndreas Kling <kling@serenityos.org>2022-12-07 11:48:27 +0100
commite011eafd3790ca0375a4678a9cb2debd0ae95ac7 (patch)
tree0a0b3a8131a2a61befe85aa841e32958bd53c50d /Userland/Libraries/LibGfx/AffineTransform.h
parent7be0b27dd3cd7185c1b8dc52747c50aad479bc6a (diff)
downloadserenity-e011eafd3790ca0375a4678a9cb2debd0ae95ac7.zip
Meta+Userland: Pass Gfx::FloatPoint by value
Just a small 8-byte value like Gfx::IntPoint.
Diffstat (limited to 'Userland/Libraries/LibGfx/AffineTransform.h')
-rw-r--r--Userland/Libraries/LibGfx/AffineTransform.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibGfx/AffineTransform.h b/Userland/Libraries/LibGfx/AffineTransform.h
index d60b19b10c..a033f922e4 100644
--- a/Userland/Libraries/LibGfx/AffineTransform.h
+++ b/Userland/Libraries/LibGfx/AffineTransform.h
@@ -56,13 +56,13 @@ public:
[[nodiscard]] FloatPoint translation() const;
AffineTransform& scale(float sx, float sy);
- AffineTransform& scale(FloatPoint const& s);
+ AffineTransform& scale(FloatPoint s);
AffineTransform& set_scale(float sx, float sy);
- AffineTransform& set_scale(FloatPoint const& s);
+ AffineTransform& set_scale(FloatPoint s);
AffineTransform& translate(float tx, float ty);
- AffineTransform& translate(FloatPoint const& t);
+ AffineTransform& translate(FloatPoint t);
AffineTransform& set_translation(float tx, float ty);
- AffineTransform& set_translation(FloatPoint const& t);
+ AffineTransform& set_translation(FloatPoint t);
AffineTransform& rotate_radians(float);
AffineTransform& multiply(AffineTransform const&);