Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarImageScaling.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-12-28 13:07:51 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-12-28 13:07:51 +1100
commit6b49f382e3a9429e97bc47a9b3c18c3ca8feb65c (patch)
tree4f3afffbc25f60e0930bc651ef98f21f4a6ac719 /source/core/StarImageScaling.hpp
parent9da08e898d9c666f655c7f901d0c67b17a746608 (diff)
move image scaling functions to their own unit, as -O2
Diffstat (limited to 'source/core/StarImageScaling.hpp')
-rw-r--r--source/core/StarImageScaling.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/core/StarImageScaling.hpp b/source/core/StarImageScaling.hpp
new file mode 100644
index 0000000..6a7271b
--- /dev/null
+++ b/source/core/StarImageScaling.hpp
@@ -0,0 +1,8 @@
+namespace Star {
+
+STAR_CLASS(Image);
+Image scaleNearest(Image const& srcImage, Vec2F const& scale);
+Image scaleBilinear(Image const& srcImage, Vec2F const& scale);
+Image scaleBicubic(Image const& srcImage, Vec2F const& scale);
+
+} \ No newline at end of file