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

#include <salvd.h>

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

Public Member Functions

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

Private Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ X11SalVirtualDevice()

X11SalVirtualDevice::X11SalVirtualDevice ( const SalGraphics rGraphics,
tools::Long nDX,
tools::Long nDY,
DeviceFormat  eFormat,
const SystemGraphicsData pData,
std::unique_ptr< X11SalGraphics pNewGraphics 
)

◆ ~X11SalVirtualDevice()

virtual X11SalVirtualDevice::~X11SalVirtualDevice ( )
overridevirtual

Member Function Documentation

◆ AcquireGraphics()

virtual SalGraphics * X11SalVirtualDevice::AcquireGraphics ( )
overridevirtual

Implements SalVirtualDevice.

◆ GetDepth()

sal_uInt16 X11SalVirtualDevice::GetDepth ( ) const
inline

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

References nDepth_.

◆ GetDisplay()

SalDisplay * X11SalVirtualDevice::GetDisplay ( ) const
inline

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

References pDisplay_.

◆ GetDrawable()

Pixmap X11SalVirtualDevice::GetDrawable ( ) const
inline

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

References hDrawable_.

◆ GetHeight()

virtual tools::Long X11SalVirtualDevice::GetHeight ( ) const
inlineoverridevirtual

Implements SalGeometryProvider.

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

References nDY_.

◆ GetSurface()

cairo_surface_t * X11SalVirtualDevice::GetSurface ( ) const
inline

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

References m_pSurface.

◆ GetWidth()

virtual tools::Long X11SalVirtualDevice::GetWidth ( ) const
inlineoverridevirtual

Implements SalGeometryProvider.

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

References nDX_.

◆ GetXDisplay()

Display * X11SalVirtualDevice::GetXDisplay ( ) const
inline

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

References SalDisplay::GetDisplay(), and pDisplay_.

◆ GetXScreenNumber()

const SalX11Screen & X11SalVirtualDevice::GetXScreenNumber ( ) const
inline

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

References m_nXScreen.

◆ ReleaseGraphics()

virtual void X11SalVirtualDevice::ReleaseGraphics ( SalGraphics pGraphics)
overridevirtual

Implements SalVirtualDevice.

◆ SetSize()

virtual bool X11SalVirtualDevice::SetSize ( tools::Long  nNewDX,
tools::Long  nNewDY 
)
overridevirtual

Set new size, without saving the old contents.

Implements SalVirtualDevice.

Member Data Documentation

◆ bExternPixmap_

bool X11SalVirtualDevice::bExternPixmap_
private

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

◆ bGraphics_

bool X11SalVirtualDevice::bGraphics_
private

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

◆ hDrawable_

Pixmap X11SalVirtualDevice::hDrawable_
private

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

Referenced by GetDrawable().

◆ m_bOwnsSurface

bool X11SalVirtualDevice::m_bOwnsSurface
private

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

◆ m_nXScreen

SalX11Screen X11SalVirtualDevice::m_nXScreen
private

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

Referenced by GetXScreenNumber().

◆ m_pSurface

cairo_surface_t* X11SalVirtualDevice::m_pSurface
private

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

Referenced by GetSurface().

◆ nDepth_

sal_uInt16 X11SalVirtualDevice::nDepth_
private

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

Referenced by GetDepth().

◆ nDX_

int X11SalVirtualDevice::nDX_
private

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

Referenced by GetWidth().

◆ nDY_

int X11SalVirtualDevice::nDY_
private

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

Referenced by GetHeight().

◆ pDisplay_

SalDisplay* X11SalVirtualDevice::pDisplay_
private

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

Referenced by GetDisplay(), and GetXDisplay().

◆ pGraphics_

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

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


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