/* SPDX-FileCopyrightText: 2014 Weng Xuetian SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #ifndef SCREEN_H #define SCREEN_H #include #include class Screen : public QObject { Q_OBJECT public: Screen(QObject *parent = nullptr); ~Screen() override; Q_INVOKABLE QRect geometryForPoint(int x, int y); Q_INVOKABLE qreal devicePixelRatioForPoint(int x, int y); }; #endif