LibreOffice Module vcl (master)  1
Classes | Public Types | Public Member Functions | Public Attributes | Private Attributes | Friends | List of all members
MapMode Class Reference

#include <mapmod.hxx>

Collaboration diagram for MapMode:


struct  ImplMapMode

Public Types

typedef o3tl::cow_wrapper< ImplMapMode, o3tl::ThreadSafeRefCountingPolicyImplType

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 PointGetOrigin () const
void SetScaleX (const Fraction &rScaleX)
const FractionGetScaleX () const
void SetScaleY (const Fraction &rScaleY)
const FractionGetScaleY () const
MapModeoperator= (const MapMode &rMapMode)
MapModeoperator= (MapMode &&rMapMode)
bool operator== (const MapMode &rMapMode) const
bool operator!= (const MapMode &rMapMode) const
bool IsDefault () const
size_t GetHashValue () const
bool IsSimple () const

Public Attributes

struct SAL_DLLPRIVATE ImplMapMode

Private Attributes

ImplType mpImplMapMode


class OutputDevice

Detailed Description

Definition at line 33 of file mapmod.hxx.

Member Typedef Documentation

Definition at line 72 of file mapmod.hxx.

Constructor & Destructor Documentation

MapMode::MapMode ( )

Definition at line 75 of file mapmod.cxx.

MapMode::MapMode ( const MapMode rMapMode)
MapMode::MapMode ( MapUnit  eUnit)

Definition at line 81 of file mapmod.cxx.

References mpImplMapMode.

MapMode::MapMode ( MapUnit  eUnit,
const Point rLogicOrg,
const Fraction rScaleX,
const Fraction rScaleY 

Definition at line 86 of file mapmod.cxx.

References mpImplMapMode.

MapMode::~MapMode ( )

Member Function Documentation

size_t MapMode::GetHashValue ( ) const
MapUnit MapMode::GetMapUnit ( ) const
const Point & MapMode::GetOrigin ( ) const
const Fraction & MapMode::GetScaleX ( ) const
const Fraction & MapMode::GetScaleY ( ) const
bool MapMode::IsDefault ( ) const
bool MapMode::IsSimple ( ) const

Definition at line 158 of file mapmod.cxx.

References mpImplMapMode.

Referenced by OutputDevice::LogicToLogic(), and TypeSerializer::writeMapMode().

bool MapMode::operator!= ( const MapMode rMapMode) const

Definition at line 61 of file mapmod.hxx.

References operator==().

MapMode & MapMode::operator= ( const MapMode rMapMode)
MapMode & MapMode::operator= ( MapMode &&  rMapMode)
bool MapMode::operator== ( const MapMode rMapMode) const

Definition at line 129 of file mapmod.cxx.

References mpImplMapMode.

Referenced by operator!=().

void MapMode::SetMapUnit ( MapUnit  eUnit)
void MapMode::SetOrigin ( const Point rOrigin)
void MapMode::SetScaleX ( const Fraction rScaleX)
void MapMode::SetScaleY ( const Fraction rScaleY)

Friends And Related Function Documentation

friend class OutputDevice

Definition at line 35 of file mapmod.hxx.

Member Data Documentation

struct SAL_DLLPRIVATE MapMode::ImplMapMode

Definition at line 38 of file mapmod.hxx.

ImplType MapMode::mpImplMapMode

The documentation for this class was generated from the following files: