LibreOffice Module vcl (master)
1
|
#include <mapmod.hxx>
Classes | |
struct | ImplMapMode |
Public Types | |
typedef o3tl::cow_wrapper< ImplMapMode, o3tl::ThreadSafeRefCountingPolicy > | ImplType |
Public Member Functions | |
MapMode () | |
MapMode (const MapMode &rMapMode) | |
MapMode (MapUnit eUnit) | |
MapMode (MapUnit eUnit, const Point &rLogicOrg, const Fraction &rScaleX, const Fraction &rScaleY) | |
~MapMode () | |
void | SetMapUnit (MapUnit eUnit) |
MapUnit | GetMapUnit () const |
void | SetOrigin (const Point &rOrigin) |
const Point & | GetOrigin () const |
void | SetScaleX (const Fraction &rScaleX) |
const Fraction & | GetScaleX () const |
void | SetScaleY (const Fraction &rScaleY) |
const Fraction & | GetScaleY () const |
MapMode & | operator= (const MapMode &rMapMode) |
MapMode & | operator= (MapMode &&rMapMode) |
bool | operator== (const MapMode &rMapMode) const |
bool | operator!= (const MapMode &rMapMode) const |
bool | IsDefault () const |
Public Attributes | |
struct SAL_DLLPRIVATE | ImplMapMode |
Private Member Functions | |
SAL_DLLPRIVATE bool | IsSimple () const |
Private Attributes | |
ImplType | mpImplMapMode |
Friends | |
class | OutputDevice |
SvStream & | ReadMapMode (SvStream &rIStm, MapMode &rMapMode) |
SvStream & | WriteMapMode (SvStream &rOStm, const MapMode &rMapMode) |
Definition at line 33 of file mapmod.hxx.
Definition at line 70 of file mapmod.hxx.
MapMode::MapMode | ( | ) |
Definition at line 72 of file mapmod.cxx.
References get().
|
default |
|
explicit |
Definition at line 78 of file mapmod.cxx.
References mpImplMapMode.
MapMode::MapMode | ( | MapUnit | eUnit, |
const Point & | rLogicOrg, | ||
const Fraction & | rScaleX, | ||
const Fraction & | rScaleY | ||
) |
Definition at line 83 of file mapmod.cxx.
References mpImplMapMode.
|
default |
MapUnit MapMode::GetMapUnit | ( | ) | const |
Definition at line 168 of file mapmod.cxx.
References mpImplMapMode.
Referenced by clipMetafileContentAgainstOwnRegions(), SalInstanceWidget::DoRecursivePaint(), Graphic::GetPPI(), GraphicDescriptor::ImpDetectJPG(), ImplCalcMapResolution(), FloatingWindow::ImplCalcPos(), GraphicObject::ImplGetCropParams(), GDIMetaFile::ImplPlayWithRenderer(), vcl::PNGWriterImpl::ImplWritepHYs(), OutputDevice::LogicToLogic(), ScrollBar::MouseButtonDown(), operator<<(), vcl::ReferenceDeviceTextLayout::ReferenceDeviceTextLayout(), OutputDevice::SetMapMode(), OutputDevice::SetRelativeMapMode(), ScrollBar::Tracking(), MetafileXmlDump::writeXml(), and vcl::PaintBufferGuard::~PaintBufferGuard().
const Point & MapMode::GetOrigin | ( | ) | const |
Definition at line 170 of file mapmod.cxx.
References mpImplMapMode, and Point.
Referenced by SvxIconChoiceCtrl_Impl::AdjustScrollBars(), SvImpLBox::AdjustScrollBars(), SvxIconChoiceCtrl_Impl::CheckHorScrollBar(), SvxIconChoiceCtrl_Impl::CheckVerScrollBar(), OutputDevice::DrawTransformedBitmapEx(), SvImpLBox::EntryReallyHit(), SvImpLBox::GetClipRegionRect(), SvTreeListBox::GetFocusRect(), SvTreeListBox::GetItem_Impl(), SvxIconChoiceCtrl_Impl::GetOutputRect(), SvImpLBox::GetVisibleArea(), SvTreeListBox::GetXOffset(), ImplCalcMapResolution(), SvImpLBox::IsNodeButton(), SvxIconChoiceCtrl_Impl::MakeVisible(), operator<<(), SvxIconChoiceCtrl_Impl::Paint(), SvTreeListBox::PaintEntry1(), SvxIconChoiceCtrl_Impl::RequestHelp(), SvxIconChoiceCtrl_Impl::Scroll(), OutputDevice::SetMapMode(), SvImpLBox::SetMostRight(), SvImpLBox::ShowVerSBar(), SvxIconChoiceCtrl_Impl::ToDocPos(), WMFWriter::WriteRecords(), and MetafileXmlDump::writeXml().
const Fraction & MapMode::GetScaleX | ( | ) | const |
Definition at line 172 of file mapmod.cxx.
References mpImplMapMode.
Referenced by WMFWriter::CalcSaveTargetMapMode(), SalInstanceWidget::DoRecursivePaint(), Graphic::GetPPI(), ImplCalcMapResolution(), operator<<(), GDIMetaFile::Play(), OutputDevice::SetMapMode(), OutputDevice::SetRelativeMapMode(), WMFWriter::WriteRecords(), and MetafileXmlDump::writeXml().
const Fraction & MapMode::GetScaleY | ( | ) | const |
Definition at line 174 of file mapmod.cxx.
References mpImplMapMode.
Referenced by WMFWriter::CalcSaveTargetMapMode(), SalInstanceWidget::DoRecursivePaint(), Graphic::GetPPI(), ImplCalcMapResolution(), operator<<(), GDIMetaFile::Play(), OutputDevice::SetMapMode(), OutputDevice::SetRelativeMapMode(), WMFWriter::WriteRecords(), and MetafileXmlDump::writeXml().
bool MapMode::IsDefault | ( | ) | const |
Definition at line 131 of file mapmod.cxx.
References mpImplMapMode, and o3tl::cow_wrapper< T, MTPolicy >::same_object().
Referenced by OutputDevice::LogicToPixel(), OutputDevice::PixelToLogic(), and OutputDevice::SetMapMode().
|
private |
Definition at line 176 of file mapmod.cxx.
References mpImplMapMode.
Referenced by OutputDevice::LogicToLogic().
|
inline |
Definition at line 61 of file mapmod.hxx.
References operator==().
bool MapMode::operator== | ( | const MapMode & | rMapMode | ) | const |
Definition at line 97 of file mapmod.cxx.
References mpImplMapMode.
Referenced by SalInstanceWidget::DoRecursivePaint(), GraphicDescriptor::ImpDetectJPG(), and EMFWriter::WriteEMF().
Definition at line 102 of file mapmod.cxx.
References mpImplMapMode.
Referenced by SvImpLBox::Clear(), vcl::bitmap::DrawAndClipBitmap(), OutputDevice::DrawTransparent(), vcl::PDFWriterImpl::endPage(), SvImpLBox::KeyLeftRight(), ScrollBar::MouseButtonDown(), GDIMetaFile::Play(), vcl::PDFWriterImpl::playMetafile(), vcl::Window::SaveBackground(), OutputDevice::SetMapMode(), SvxIconChoiceCtrl_Impl::SetOrigin(), VirtualDevice::SetOutputSizePixelScaleOffsetAndBuffer(), ScrollBar::Tracking(), and WMFWriter::WriteRecords().
Definition at line 108 of file mapmod.cxx.
References mpImplMapMode.
Referenced by WMFWriter::CalcSaveTargetMapMode(), SalInstanceWidget::DoRecursivePaint(), vcl::bitmap::DrawAndClipBitmap(), GraphicDescriptor::ImpDetectJPG(), GDIMetaFile::Play(), vcl::ReferenceDeviceTextLayout::ReferenceDeviceTextLayout(), OutputDevice::SetMapMode(), VirtualDevice::SetOutputSizePixelScaleOffsetAndBuffer(), WMFWriter::WriteRecords(), and WMFWriter::WriteWMF().
Definition at line 115 of file mapmod.cxx.
References mpImplMapMode.
Referenced by WMFWriter::CalcSaveTargetMapMode(), SalInstanceWidget::DoRecursivePaint(), vcl::bitmap::DrawAndClipBitmap(), GraphicDescriptor::ImpDetectJPG(), GDIMetaFile::Play(), OutputDevice::SetMapMode(), VirtualDevice::SetOutputSizePixelScaleOffsetAndBuffer(), WMFWriter::WriteRecords(), and WMFWriter::WriteWMF().
|
friend |
Definition at line 35 of file mapmod.hxx.
Definition at line 136 of file mapmod.cxx.
Definition at line 152 of file mapmod.cxx.
struct SAL_DLLPRIVATE MapMode::ImplMapMode |
Definition at line 38 of file mapmod.hxx.
|
private |
Definition at line 73 of file mapmod.hxx.
Referenced by GetMapUnit(), GetOrigin(), GetScaleX(), GetScaleY(), IsDefault(), IsSimple(), MapMode(), operator==(), ReadMapMode(), SetMapUnit(), SetOrigin(), SetScaleX(), SetScaleY(), and WriteMapMode().