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

#include <salgdi.h>

Collaboration diagram for X11Common:
[legend]

Public Member Functions

 X11Common ()
 
cairo_tgetCairoContext ()
 
bool SupportsCairo () const
 
const SalColormapGetColormap () const
 
const SalDisplayGetDisplay () const
 
const SalVisualGetVisual () const
 
DisplayGetXDisplay () const
 
Pixel GetPixel (Color nColor) const
 
Drawable GetDrawable () const
 

Static Public Member Functions

static void releaseCairoContext (cairo_t *cr)
 

Public Attributes

Drawable m_hDrawable
 
const SalColormapm_pColormap
 
cairo_surface_tm_pExternalSurface
 

Detailed Description

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

Constructor & Destructor Documentation

◆ X11Common()

X11Common::X11Common ( )

Member Function Documentation

◆ getCairoContext()

cairo_t * X11Common::getCairoContext ( )

◆ GetColormap()

const SalColormap & X11Common::GetColormap ( ) const
inline

Definition at line 80 of file unx/salgdi.h.

References m_pColormap.

Referenced by X11SalGraphics::GetColormap(), GetDisplay(), GetPixel(), GetVisual(), and GetXDisplay().

◆ GetDisplay()

const SalDisplay * X11Common::GetDisplay ( ) const
inline

Definition at line 81 of file unx/salgdi.h.

References GetColormap(), and SalColormap::GetDisplay().

Referenced by X11SalGraphics::GetDisplay().

◆ GetDrawable()

Drawable X11Common::GetDrawable ( ) const
inline

Definition at line 85 of file unx/salgdi.h.

References m_hDrawable.

Referenced by X11SalGraphics::GetDrawable().

◆ GetPixel()

Pixel X11Common::GetPixel ( Color  nColor) const
inline

Definition at line 84 of file unx/salgdi.h.

References GetColormap(), and SalColormap::GetPixel().

Referenced by X11SalGraphics::GetPixel().

◆ GetVisual()

const SalVisual & X11Common::GetVisual ( ) const
inline

Definition at line 82 of file unx/salgdi.h.

References GetColormap(), and SalColormap::GetVisual().

Referenced by X11SalGraphics::GetVisual().

◆ GetXDisplay()

Display * X11Common::GetXDisplay ( ) const
inline

Definition at line 83 of file unx/salgdi.h.

References GetColormap(), and SalColormap::GetXDisplay().

Referenced by X11SalGraphics::GetXDisplay().

◆ releaseCairoContext()

static void X11Common::releaseCairoContext ( cairo_t cr)
static

◆ SupportsCairo()

bool X11Common::SupportsCairo ( ) const

Member Data Documentation

◆ m_hDrawable

Drawable X11Common::m_hDrawable

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

Referenced by GetDrawable().

◆ m_pColormap

const SalColormap* X11Common::m_pColormap

Definition at line 69 of file unx/salgdi.h.

Referenced by GetColormap().

◆ m_pExternalSurface

cairo_surface_t* X11Common::m_pExternalSurface

Definition at line 70 of file unx/salgdi.h.


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