Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qimagescale_p.h
Go to the documentation of this file.
1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3#ifndef QIMAGESCALE_P_H
4#define QIMAGESCALE_P_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include <qimage.h>
18#include <private/qglobal_p.h>
19
21
22/*
23 This version accepts only supported formats.
24*/
25QImage qSmoothScaleImage(const QImage &img, int w, int h);
26
27namespace QImageScale {
29 int *xpoints{nullptr};
30 const unsigned int **ypoints{nullptr};
31 int *xapoints{nullptr};
32 int *yapoints{nullptr};
33 int xup_yup{0};
34 int sh = 0;
35 int sw = 0;
36 };
37}
38
40
41#endif
\inmodule QtGui
Definition qimage.h:37
Combined button and popup list for selecting options.
QT_BEGIN_NAMESPACE QImage qSmoothScaleImage(const QImage &img, int w, int h)
GLfloat GLfloat GLfloat w
[0]
GLfloat GLfloat GLfloat GLfloat h
GLint void * img
Definition qopenglext.h:233
const unsigned int ** ypoints