LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
X11SalVirtualDevice Class Reference

#include <salvd.h>

Inheritance diagram for X11SalVirtualDevice:
[legend]
Collaboration diagram for X11SalVirtualDevice:
[legend]

Public Member Functions

 X11SalVirtualDevice (SalGraphics const *pGraphics, long &nDX, long &nDY, DeviceFormat eFormat, const SystemGraphicsData *pData, std::unique_ptr< X11SalGraphics > pNewGraphics)
 
virtual ~X11SalVirtualDevice () override
 
DisplayGetXDisplay () const
 
SalDisplayGetDisplay () const
 
Pixmap GetDrawable () const
 
sal_uInt16 GetDepth () const
 
const SalX11ScreenGetXScreenNumber () const
 
virtual SalGraphicsAcquireGraphics () override
 
virtual void ReleaseGraphics (SalGraphics *pGraphics) override
 
virtual bool SetSize (long nNewDX, long nNewDY) override
 Set new size, without saving the old contents. More...
 
virtual long GetWidth () const override
 
virtual long GetHeight () const override
 
- Public Member Functions inherited from SalVirtualDevice
 SalVirtualDevice ()
 
virtual ~SalVirtualDevice () override
 
virtual bool IsOffScreen () const override
 
virtual bool SetSizeUsingBuffer (long nNewDX, long nNewDY, sal_uInt8 *)
 
- Public Member Functions inherited from SalGeometryProvider
virtual ~SalGeometryProvider ()
 

Private Attributes

SalDisplaypDisplay_
 
std::unique_ptr< X11SalGraphicspGraphics_
 
Pixmap hDrawable_
 
SalX11Screen m_nXScreen
 
int nDX_
 
int nDY_
 
sal_uInt16 nDepth_
 
bool bGraphics_
 
bool bExternPixmap_
 

Detailed Description

Definition at line 32 of file unx/salvd.h.

Constructor & Destructor Documentation

X11SalVirtualDevice::X11SalVirtualDevice ( SalGraphics const *  pGraphics,
long &  nDX,
long &  nDY,
DeviceFormat  eFormat,
const SystemGraphicsData pData,
std::unique_ptr< X11SalGraphics pNewGraphics 
)
virtual X11SalVirtualDevice::~X11SalVirtualDevice ( )
overridevirtual

Member Function Documentation

virtual SalGraphics* X11SalVirtualDevice::AcquireGraphics ( )
overridevirtual

Implements SalVirtualDevice.

sal_uInt16 X11SalVirtualDevice::GetDepth ( ) const
inline

Definition at line 61 of file unx/salvd.h.

References nDepth_.

SalDisplay* X11SalVirtualDevice::GetDisplay ( ) const
inline

Definition at line 56 of file unx/salvd.h.

References pDisplay_.

Pixmap X11SalVirtualDevice::GetDrawable ( ) const
inline

Definition at line 60 of file unx/salvd.h.

References hDrawable_.

virtual long X11SalVirtualDevice::GetHeight ( ) const
inlineoverridevirtual

Implements SalGeometryProvider.

Definition at line 72 of file unx/salvd.h.

References nDY_.

virtual long X11SalVirtualDevice::GetWidth ( ) const
inlineoverridevirtual

Implements SalGeometryProvider.

Definition at line 71 of file unx/salvd.h.

References nDX_.

Display* X11SalVirtualDevice::GetXDisplay ( ) const
inline

Definition at line 52 of file unx/salvd.h.

References SalDisplay::GetDisplay().

const SalX11Screen& X11SalVirtualDevice::GetXScreenNumber ( ) const
inline

Definition at line 62 of file unx/salvd.h.

References m_nXScreen.

virtual void X11SalVirtualDevice::ReleaseGraphics ( SalGraphics pGraphics)
overridevirtual

Implements SalVirtualDevice.

virtual bool X11SalVirtualDevice::SetSize ( long  nNewDX,
long  nNewDY 
)
overridevirtual

Set new size, without saving the old contents.

Implements SalVirtualDevice.

Member Data Documentation

bool X11SalVirtualDevice::bExternPixmap_
private

Definition at line 44 of file unx/salvd.h.

bool X11SalVirtualDevice::bGraphics_
private

Definition at line 43 of file unx/salvd.h.

Pixmap X11SalVirtualDevice::hDrawable_
private

Definition at line 37 of file unx/salvd.h.

Referenced by GetDrawable().

SalX11Screen X11SalVirtualDevice::m_nXScreen
private

Definition at line 38 of file unx/salvd.h.

Referenced by GetXScreenNumber().

sal_uInt16 X11SalVirtualDevice::nDepth_
private

Definition at line 42 of file unx/salvd.h.

Referenced by GetDepth().

int X11SalVirtualDevice::nDX_
private

Definition at line 40 of file unx/salvd.h.

Referenced by GetWidth().

int X11SalVirtualDevice::nDY_
private

Definition at line 41 of file unx/salvd.h.

Referenced by GetHeight().

SalDisplay* X11SalVirtualDevice::pDisplay_
private

Definition at line 34 of file unx/salvd.h.

Referenced by GetDisplay().

std::unique_ptr<X11SalGraphics> X11SalVirtualDevice::pGraphics_
private

Definition at line 35 of file unx/salvd.h.


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