#include <tiledbitmaplayer.hh>
◆ Ptr
◆ Layer()
◆ close()
Gets called just before the View is destroyed
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements Viewable.
◆ create() [1/2]
◆ create() [2/2]
| Layer::Ptr Layer::create |
( |
int |
layerWidth, |
|
|
int |
layerHeight, |
|
|
int |
bpp |
|
) |
| |
|
static |
107 return create(0, layerWidth, layerHeight, bpp, provider);
◆ fetchData()
◆ getDepth()
| int Layer::getDepth |
( |
| ) |
const |
|
inline |
◆ getHeight()
| int Layer::getHeight |
( |
| ) |
const |
|
inline |
◆ getHorTileCount()
| int Layer::getHorTileCount |
( |
| ) |
const |
◆ getPageProvider()
◆ getRect()
◆ getTile()
◆ getTileLine()
◆ getVerTileCount()
| int Layer::getVerTileCount |
( |
| ) |
const |
◆ getWidth()
| int Layer::getWidth |
( |
| ) |
const |
|
inline |
◆ open()
Gets called just after the View is created
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements Viewable.
◆ registerObserver()
114 for(
auto& line:
tiles)
116 for(
auto& tile: line)
118 t.
add(tile->registerObserver(observer));
◆ depth
◆ height
◆ horTileCount
◆ lineOutOfBounds
◆ outOfBounds
◆ pageProvider
◆ tiles
◆ verTileCount
◆ width
The documentation for this class was generated from the following files:
boost::shared_ptr< PageProvider > Ptr
Definition: memoryblobs.hh:41
int width
Definition: tiledbitmaplayer.hh:251
boost::shared_ptr< Layer > Ptr
Definition: tiledbitmaplayer.hh:247
CompressedTileGrid tiles
Definition: tiledbitmaplayer.hh:255
int verTileCount
Definition: tiledbitmaplayer.hh:254
static Scroom::MemoryBlobs::PageProvider::Ptr createProvider(double width, double height, int bpp)
Definition: layer.cc:25
static Ptr create(int depth, int x, int y, int bpp, const Scroom::MemoryBlobs::PageProvider::Ptr &provider, TileStateInternal state=TSI_UNINITIALIZED)
Definition: compressedtile.cc:32
int height
Definition: tiledbitmaplayer.hh:252
CompressedTile::Ptr outOfBounds
Definition: tiledbitmaplayer.hh:256
CompressedTileLine lineOutOfBounds
Definition: tiledbitmaplayer.hh:257
Scroom::MemoryBlobs::PageProvider::Ptr pageProvider
Definition: tiledbitmaplayer.hh:258
int horTileCount
Definition: tiledbitmaplayer.hh:253
int depth
Definition: tiledbitmaplayer.hh:250
ThreadPool::Ptr CpuBound()
Definition: threadpoolimpl.cc:452
@ TSI_OUT_OF_BOUNDS
Definition: tiledbitmaplayer.hh:38
boost::shared_ptr< CompressedTile > Ptr
Definition: tiledbitmaplayer.hh:108
#define TILESIZE
Definition: tiledbitmaplayer.hh:28
static Ptr create(int depth, int layerWidth, int layerHeight, int bpp, Scroom::MemoryBlobs::PageProvider::Ptr provider)
Definition: layer.cc:98
std::vector< CompressedTile::Ptr > CompressedTileLine
Definition: tiledbitmaplayer.hh:237
#define DATAFETCH_PRIO
Definition: local.hh:11
Definition: bookkeeping.hh:37
void add(const Stuff &s) const
Definition: bookkeepingimpl.hh:191
Layer(int depth, int layerWidth, int layerHeight, int bpp, Scroom::MemoryBlobs::PageProvider::Ptr provider)
Layer.
Definition: layer.cc:70