LibreOffice Module libreofficekit (master) 1
|
This class represents a single tile in the tile buffer. More...
#include <tilebuffer.hxx>
Public Member Functions | |
Tile () | |
~Tile () | |
cairo_surface_t * | getBuffer () |
Function to get the pointer to enclosing cairo_surface_t. More... | |
void | setSurface (cairo_surface_t *) |
Used to set the pixel buffer of this object. More... | |
Public Attributes | |
bool | valid |
Tells if this tile is valid or not. More... | |
Private Attributes | |
cairo_surface_t * | m_pBuffer |
Pixel buffer data for this tile. More... | |
This class represents a single tile in the tile buffer.
It encloses a reference to GdkPixBuf containing the pixel data of the tile.
Definition at line 53 of file tilebuffer.hxx.
|
inline |
Definition at line 56 of file tilebuffer.hxx.
|
inline |
Definition at line 61 of file tilebuffer.hxx.
References m_pBuffer.
cairo_surface_t * Tile::getBuffer | ( | ) |
Function to get the pointer to enclosing cairo_surface_t.
Definition at line 34 of file tilebuffer.cxx.
References m_pBuffer.
Referenced by renderDocument().
void Tile::setSurface | ( | cairo_surface_t * | buffer | ) |
Used to set the pixel buffer of this object.
Definition at line 39 of file tilebuffer.cxx.
References m_pBuffer.
Referenced by TileBuffer::TileBuffer().
|
private |
Pixel buffer data for this tile.
Definition at line 80 of file tilebuffer.hxx.
Referenced by getBuffer(), setSurface(), and ~Tile().
bool Tile::valid |
Tells if this tile is valid or not.
Initialised to 0 (invalid) during object creation.
Definition at line 71 of file tilebuffer.hxx.