Files
libreoffice/include/vcl/outdevmap.hxx
Norbert Thiebaud 8e21a02520 vcl: add floating equivalent for MapRes
Change-Id: I165e403d2834d341f7da7a280859afccb995a3bb
2014-07-20 22:10:59 +02:00

48 lines
1.9 KiB
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/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_VCL_OUTDEVMAP_HXX
#define INCLUDED_VCL_OUTDEVMAP_HXX
struct ImplMapRes
{
long mnMapOfsX; // Offset in X direction
long mnMapOfsY; // Offset in Y direction
long mnMapScNumX; // Scaling factor - numerator in X direction
long mnMapScNumY; // Scaling factor - numerator in Y direction
long mnMapScDenomX; // Scaling factor - denominator in X direction
long mnMapScDenomY; // Scaling factor - denominator in Y direction
double mfOffsetX;
double mfOffsetY;
double mfScaleX;
double mfScaleY;
};
struct ImplThresholdRes
{
long mnThresLogToPixX; // Thresholds for calculation
long mnThresLogToPixY; // with BigInts
long mnThresPixToLogX; // ""
long mnThresPixToLogY; // ""
};
#endif // INCLUDED_VCL_OUTDEVMAP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */