5e218b5c51
Change-Id: If75c3448776743f1b9efbf84a487cfc0c75364ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128365 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
27 lines
678 B
C++
27 lines
678 B
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <config_vcl.h>
|
|
|
|
#include <basegfx/point/b2dpoint.hxx>
|
|
typedef basegfx::B2DPoint DevicePoint;
|
|
|
|
#if VCL_FLOAT_DEVICE_PIXEL
|
|
|
|
typedef double DeviceCoordinate;
|
|
|
|
#else /* !VCL_FLOAT_DEVICE_PIXEL */
|
|
|
|
typedef sal_Int32 DeviceCoordinate;
|
|
|
|
#endif /* ! Carpet Cushion */
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|