File indexing completed on 2024-05-12 16:06:47
0001 /* 0002 SPDX-FileCopyrightText: 2023 g10 Code GmbH 0003 SPDX-FileContributor: Sune Stolborg Vuorela <sune@vuorela.dk> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef OKULAR_IMAGESCALING_H 0009 #define OKULAR_IMAGESCALING_H 0010 0011 #include <QImage> 0012 0013 class imagescaling 0014 { 0015 public: 0016 static QImage scaleAndFitCanvas(const QImage &input, QSize expectedSize); 0017 }; 0018 0019 #endif // OKULAR_IMAGESCALING_H