|
LibreOffice Module vcl (master) 1
|
#include <sal/config.h>#include <sal/log.hxx>#include <osl/diagnose.h>#include <tools/bigint.hxx>#include <tools/debug.hxx>#include <vcl/cursor.hxx>#include <vcl/lineinfo.hxx>#include <vcl/metaact.hxx>#include <vcl/virdev.hxx>#include <vcl/wrkwin.hxx>#include <ImplOutDevData.hxx>#include <svdata.hxx>#include <window.h>#include <basegfx/matrix/b2dhommatrix.hxx>#include <tools/UnitConversion.hxx>Go to the source code of this file.
Macros | |
| #define | ENTER1(rSource, pMapModeSource, pMapModeDest) |
Functions | |
| static auto | setMapRes (ImplMapRes &rMapRes, const o3tl::Length eUnit) |
| static void | ImplCalcMapResolution (const MapMode &rMapMode, tools::Long nDPIX, tools::Long nDPIY, ImplMapRes &rMapRes) |
| static tools::Long | ImplLogicToPixel (tools::Long n, tools::Long nDPI, tools::Long nMapNum, tools::Long nMapDenom) |
| static double | ImplLogicToSubPixel (tools::Long n, tools::Long nDPI, tools::Long nMapNum, tools::Long nMapDenom) |
| static tools::Long | ImplSubPixelToLogic (double n, tools::Long nDPI, tools::Long nMapNum, tools::Long nMapDenom) |
| static tools::Long | ImplPixelToLogic (tools::Long n, tools::Long nDPI, tools::Long nMapNum, tools::Long nMapDenom) |
| static void | verifyUnitSourceDest (MapUnit eUnitSource, MapUnit eUnitDest) |
| static tools::Long | fn5 (const tools::Long n1, const tools::Long n2, const tools::Long n3, const tools::Long n4, const tools::Long n5) |
| static tools::Long | fn3 (const tools::Long n1, const o3tl::Length eFrom, const o3tl::Length eTo) |
| #define ENTER1 | ( | rSource, | |
| pMapModeSource, | |||
| pMapModeDest | |||
| ) |
|
static |
Definition at line 1556 of file map.cxx.
References o3tl::convert(), o3tl::invalid, BigInt::IsNeg(), n1, n2, and n3.
Referenced by OutputDevice::LogicToLogic().
|
static |
Definition at line 1439 of file map.cxx.
References BigInt::IsNeg(), n1, n2, n3, n4, n5, and n6.
Referenced by OutputDevice::LogicToLogic().
|
static |
Definition at line 47 of file map.cxx.
References o3tl::cm, Fraction::GetDenominator(), MapMode::GetMapUnit(), Fraction::GetNumerator(), MapMode::GetOrigin(), MapMode::GetScaleX(), MapMode::GetScaleY(), ImplGetSVData(), vcl::Window::ImplInitAppFontData(), o3tl::in, o3tl::in10, o3tl::in100, o3tl::in1000, ImplSVData::maFrameData, ImplSVData::maGDIData, Fraction::MakeFraction(), o3tl::mm, o3tl::mm10, o3tl::mm100, ImplSVGDIData::mnAppFontX, ImplSVGDIData::mnAppFontY, ImplMapRes::mnMapOfsX, ImplMapRes::mnMapOfsY, ImplMapRes::mnMapScDenomX, ImplMapRes::mnMapScDenomY, ImplMapRes::mnMapScNumX, ImplMapRes::mnMapScNumY, ImplSVFrameData::mpFirstFrame, o3tl::pt, setMapRes(), o3tl::twip, Point::X(), and Point::Y().
Referenced by OutputDevice::GetViewTransformation(), OutputDevice::LogicToPixel(), OutputDevice::PixelToLogic(), and OutputDevice::SetMapMode().
|
static |
Definition at line 191 of file map.cxx.
References n.
Referenced by OutputDevice::ImplLogicHeightToDevicePixel(), OutputDevice::ImplLogicToDevicePixel(), OutputDevice::ImplLogicWidthToDevicePixel(), OutputDevice::ImplLogicXToDevicePixel(), OutputDevice::ImplLogicYToDevicePixel(), and OutputDevice::LogicToPixel().
|
static |
Definition at line 220 of file map.cxx.
References n.
Referenced by OutputDevice::ImplLogicHeightToDeviceSubPixel(), OutputDevice::ImplLogicToDeviceSubPixel(), and OutputDevice::ImplLogicWidthToDeviceSubPixel().
|
static |
Definition at line 237 of file map.cxx.
References n.
Referenced by OutputDevice::ImplDevicePixelToLogic(), OutputDevice::ImplDevicePixelToLogicHeight(), OutputDevice::ImplDevicePixelToLogicWidth(), OutputDevice::PixelToLogic(), OutputDevice::SetMapMode(), OutputDevice::SetPixelOffset(), and OutputDevice::SetRelativeMapMode().
|
static |
Definition at line 228 of file map.cxx.
References n.
Referenced by OutputDevice::SubPixelToLogic().
|
static |
Definition at line 40 of file map.cxx.
References o3tl::in, ImplMapRes::mnMapScDenomX, ImplMapRes::mnMapScDenomY, ImplMapRes::mnMapScNumX, and ImplMapRes::mnMapScNumY.
Referenced by ImplCalcMapResolution().
Definition at line 1398 of file map.cxx.
References DBG_ASSERT.
Referenced by OutputDevice::LogicToLogic().