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:
[legend]

Classes

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
 

Friends

class OutputDevice
 

Detailed Description

Definition at line 33 of file mapmod.hxx.

Member Typedef Documentation

◆ ImplType

Definition at line 72 of file mapmod.hxx.

Constructor & Destructor Documentation

◆ MapMode() [1/4]

MapMode::MapMode ( )

Definition at line 111 of file mapmod.cxx.

◆ MapMode() [2/4]

MapMode::MapMode ( const MapMode rMapMode)
default

◆ MapMode() [3/4]

MapMode::MapMode ( MapUnit  eUnit)
explicit

Definition at line 117 of file mapmod.cxx.

◆ MapMode() [4/4]

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

Definition at line 121 of file mapmod.cxx.

References mpImplMapMode.

◆ ~MapMode()

MapMode::~MapMode ( )
default

References GetMapUnit().

Member Function Documentation

◆ GetHashValue()

size_t MapMode::GetHashValue ( ) const

◆ GetMapUnit()

MapUnit MapMode::GetMapUnit ( ) const

◆ GetOrigin()

const Point & MapMode::GetOrigin ( ) const

◆ GetScaleX()

const Fraction & MapMode::GetScaleX ( ) const

◆ GetScaleY()

const Fraction & MapMode::GetScaleY ( ) const

◆ IsDefault()

bool MapMode::IsDefault ( ) const

◆ IsSimple()

bool MapMode::IsSimple ( ) const

Definition at line 189 of file mapmod.cxx.

References mpImplMapMode.

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

◆ operator!=()

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

Definition at line 61 of file mapmod.hxx.

References operator==().

◆ operator=() [1/2]

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

◆ operator=() [2/2]

MapMode & MapMode::operator= ( MapMode &&  rMapMode)
default

◆ operator==()

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

Definition at line 160 of file mapmod.cxx.

References mpImplMapMode.

Referenced by operator!=().

◆ SetMapUnit()

void MapMode::SetMapUnit ( MapUnit  eUnit)

◆ SetOrigin()

void MapMode::SetOrigin ( const Point rOrigin)

◆ SetScaleX()

void MapMode::SetScaleX ( const Fraction rScaleX)

◆ SetScaleY()

void MapMode::SetScaleY ( const Fraction rScaleY)

Friends And Related Function Documentation

◆ OutputDevice

friend class OutputDevice
friend

Definition at line 35 of file mapmod.hxx.

Member Data Documentation

◆ ImplMapMode

struct SAL_DLLPRIVATE MapMode::ImplMapMode

Definition at line 38 of file mapmod.hxx.

◆ mpImplMapMode

ImplType MapMode::mpImplMapMode
private

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