Qt
6.x
The Qt SDK
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
20
QT_BEGIN_NAMESPACE
21
22
/*
23
This version accepts only supported formats.
24
*/
25
QImage
qSmoothScaleImage
(
const
QImage
&
img
,
int
w
,
int
h
);
26
27
namespace
QImageScale
{
28
struct
QImageScaleInfo
{
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
39
QT_END_NAMESPACE
40
41
#endif
QImage
\inmodule QtGui
Definition
qimage.h:37
QImageScale
Definition
qimagescale.cpp:69
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
qimage.h
qSmoothScaleImage
QT_BEGIN_NAMESPACE QImage qSmoothScaleImage(const QImage &img, int w, int h)
Definition
qimagescale.cpp:1179
w
GLfloat GLfloat GLfloat w
[0]
Definition
qopengles2ext.h:789
h
GLfloat GLfloat GLfloat GLfloat h
Definition
qopengles2ext.h:789
img
GLint void * img
Definition
qopenglext.h:233
QImageScale::QImageScaleInfo
Definition
qimagescale_p.h:28
QImageScale::QImageScaleInfo::ypoints
const unsigned int ** ypoints
Definition
qimagescale_p.h:30
QImageScale::QImageScaleInfo::xpoints
int * xpoints
Definition
qimagescale_p.h:29
QImageScale::QImageScaleInfo::xup_yup
int xup_yup
Definition
qimagescale_p.h:33
QImageScale::QImageScaleInfo::sw
int sw
Definition
qimagescale_p.h:35
QImageScale::QImageScaleInfo::yapoints
int * yapoints
Definition
qimagescale_p.h:32
QImageScale::QImageScaleInfo::sh
int sh
Definition
qimagescale_p.h:34
QImageScale::QImageScaleInfo::xapoints
int * xapoints
Definition
qimagescale_p.h:31
qtbase
src
gui
painting
qimagescale_p.h
Generated by
1.9.7