Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / include / vcl / devicecoordinate.hxx
blob14e43b22c0241a5c52813480b4dd50d841f10842
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_VCL_DEVICE_COORDINATE_HXX
11 #define INCLUDED_VCL_DEVICE_COORDINATE_HXX
13 #include <config_vcl.h>
15 #if VCL_FLOAT_DEVICE_PIXEL
16 #include <basegfx/point/b2dpoint.hxx>
17 typedef double DeviceCoordinate;
19 #else /* !VCL_FLOAT_DEVICE_PIXEL */
21 #include <basegfx/point/b2ipoint.hxx>
22 typedef long DeviceCoordinate;
24 #endif /* ! Carpet Cushion */
26 #endif /* NDef INCLUDED_VCL_DEVICE_COORDINATE_HXX */
28 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */