Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
QImageScale
Definition
qimagescale.cpp:71
QPlatformGraphicsBufferHelper
\inmodule QtGui
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 on
for Qt by
1.14.0