1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef INCLUDED_VCL_DEVICE_COORDINATE_HXX
11 #define INCLUDED_VCL_DEVICE_COORDINATE_HXX
13 #include <config_vcl.h>
14 #include <tools/long.hxx>
16 #if VCL_FLOAT_DEVICE_PIXEL
17 #include <basegfx/point/b2dpoint.hxx>
18 typedef double DeviceCoordinate
;
20 #else /* !VCL_FLOAT_DEVICE_PIXEL */
22 #include <basegfx/point/b2ipoint.hxx>
23 typedef tools::Long DeviceCoordinate
;
25 #endif /* ! Carpet Cushion */
27 #endif /* NDef INCLUDED_VCL_DEVICE_COORDINATE_HXX */
29 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */