diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-25 22:55:47 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-25 23:34:10 +1000 |
commit | 5e57796c80d5f6e1888ff40bed5b4c1a081db93a (patch) | |
tree | 001b4f40a53b7f052fb5fdc8e0cdd9c8ed72b5c7 /include/vcl/outdevmap.hxx | |
parent | cf3c6cb40f99fa1761a6af3d7447a899b9447868 (diff) |
VCL: Move OutputDevice map structures to own VCL header file
Change-Id: Ifbaa51018d47fde72be80d5d1870fdda214db320
Diffstat (limited to 'include/vcl/outdevmap.hxx')
-rw-r--r-- | include/vcl/outdevmap.hxx | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/include/vcl/outdevmap.hxx b/include/vcl/outdevmap.hxx new file mode 100644 index 000000000000..cda9e629b864 --- /dev/null +++ b/include/vcl/outdevmap.hxx @@ -0,0 +1,44 @@ +/* -*- 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_INC_OUTDEVMAP_HXX +#define INCLUDED_VCL_INC_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 +}; + +struct ImplThresholdRes +{ + long mnThresLogToPixX; // Thresholds for calculation + long mnThresLogToPixY; // with BigInts + long mnThresPixToLogX; // "" + long mnThresPixToLogY; // "" +}; + +#endif // INCLUDED_VCL_INC_OUTDEVMAP_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |