51 using Ptr = std::shared_ptr<LayerOperations>;
191 using Ptr = std::shared_ptr<SourcePresentation>;
212 virtual void fillTiles(
int startLine,
int lineCount,
int tileWidth,
int firstTile, std::vector<Tile::Ptr>& tiles) = 0;
232 using Ptr = std::shared_ptr<TiledBitmapInterface>;
std::shared_ptr< ConstTile > Ptr
Definition tile.hh:45
Definition interface.hh:11
Definition tiledbitmapinterface.hh:49
virtual void initializeCairo(cairo_t *cr)=0
virtual void draw(cairo_t *cr, const ConstTile::Ptr &tile, Scroom::Utils::Rectangle< double > tileArea, Scroom::Utils::Rectangle< double > viewArea, int zoom, Scroom::Utils::Stuff cache)=0
virtual void reduce(Tile::Ptr target, ConstTile::Ptr source, int x, int y)=0
virtual Scroom::Utils::Stuff cacheZoom(const ConstTile::Ptr &, int, Scroom::Utils::Stuff &)
Definition tiledbitmapinterface.hh:146
virtual Scroom::Utils::Stuff cache(const ConstTile::Ptr &)
Definition tiledbitmapinterface.hh:126
virtual void drawState(cairo_t *cr, TileState s, Scroom::Utils::Rectangle< double > viewArea)=0
std::shared_ptr< LayerOperations > Ptr
Definition tiledbitmapinterface.hh:51
Definition tiledbitmaplayer.hh:248
Definition rectangle.hh:29
Definition tiledbitmapinterface.hh:189
virtual void fillTiles(int startLine, int lineCount, int tileWidth, int firstTile, std::vector< Tile::Ptr > &tiles)=0
virtual std::string getName()=0
std::shared_ptr< SourcePresentation > Ptr
Definition tiledbitmapinterface.hh:191
std::shared_ptr< Tile > Ptr
Definition tile.hh:19
Definition tiledbitmapinterface.hh:230
virtual std::shared_ptr< Layer > getBottomLayer()=0
virtual void redraw(ViewInterface::Ptr const &vi, cairo_t *cr, const Scroom::Utils::Rectangle< double > &presentationArea, int zoom)=0
virtual void setSource(SourcePresentation::Ptr sp)=0
virtual void clearCaches(ViewInterface::Ptr vi)=0
std::shared_ptr< TiledBitmapInterface > Ptr
Definition tiledbitmapinterface.hh:232
std::shared_ptr< ViewInterface > Ptr
Definition viewinterface.hh:193
Definition presentationinterface.hh:32
std::shared_ptr< void > Stuff
Definition stuff.hh:17
ViewInterface::Ptr const vi
Definition pipette-tests.cc:186
std::vector< LayerOperations::Ptr > LayerSpec
Definition tiledbitmapinterface.hh:183
TileState
Definition tiledbitmapinterface.hh:31
@ TILE_UNLOADED
Definition tiledbitmapinterface.hh:33
@ TILE_LOADED
Definition tiledbitmapinterface.hh:34
@ TILE_UNINITIALIZED
Definition tiledbitmapinterface.hh:32
@ TILE_OUT_OF_BOUNDS
Definition tiledbitmapinterface.hh:35
TiledBitmapInterface::Ptr createTiledBitmap(int bitmapWidth, int bitmapHeight, LayerSpec const &ls)
Definition tiled-bitmap.cc:27