Warning, file /plasma/kwin/autotests/xcb_scaling_mock.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     KWin - the KDE window manager
0003     This file is part of the KDE project.
0004 
0005     SPDX-FileCopyrightText: 2022 Aleix Pol Gonzalez <aleixpol@kde.org>
0006 
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 
0010 #include <utils/xcbutils.h>
0011 
0012 namespace KWin
0013 {
0014 
0015 uint32_t Xcb::toXNative(qreal value)
0016 {
0017     return value;
0018 }
0019 
0020 qreal Xcb::fromXNative(int value)
0021 {
0022     return value;
0023 }
0024 
0025 QSizeF Xcb::fromXNative(const QSize &value)
0026 {
0027     return value;
0028 }
0029 
0030 QRectF Xcb::nativeFloor(const QRectF &value)
0031 {
0032     return value;
0033 }
0034 }