File indexing completed on 2024-04-28 05:52:38

0001 /*
0002     This file is part of the Okteta Gui library, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2003, 2009 Friedrich W. H. Kossebau <kossebau@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #ifndef OKTETA_PIXELMETRICS_HPP
0010 #define OKTETA_PIXELMETRICS_HPP
0011 
0012 // Okteta core
0013 #include <Okteta/NumberRange>
0014 
0015 namespace Okteta {
0016 
0017 // these are to emphasize that measuring unit is pixel and which direction
0018 using PixelX = int;
0019 using PixelY = int;
0020 
0021 using PixelXRange = NumberRange<PixelX>;
0022 using PixelYRange = NumberRange<PixelY>;
0023 
0024 }
0025 
0026 #endif