|
Scroom 0.14-48-ga0fee447
|
#include <tiledbitmapinterface.hh>


Public Types | |
| using | Ptr = std::shared_ptr< SourcePresentation > |
Public Member Functions | |
| virtual void | fillTiles (int startLine, int lineCount, int tileWidth, int firstTile, std::vector< Tile::Ptr > &tiles)=0 |
| virtual void | done ()=0 |
| virtual std::string | getName ()=0 |
Additional Inherited Members | |
Private Member Functions inherited from Interface | |
| Interface ()=default | |
| Interface (const Interface &)=delete | |
| Interface & | operator= (const Interface &)=delete |
| Interface (Interface &&)=delete | |
| Interface & | operator= (Interface &&)=delete |
| virtual | ~Interface ()=default |
Provide bitmap data
| using SourcePresentation::Ptr = std::shared_ptr<SourcePresentation> |
|
pure virtual |
Done reading bitmap data
Any open files can be closed now
Implemented in Source1Bpp, Source2Bpp, Source4Bpp, Source8Bpp, Scroom::Pnm::Source, and Scroom::Tiff::Source.
|
pure virtual |
Provide bitmap data
While the TiledBitmap is loaded, this function will be called several times. Each time, this function has to fill the provided tiles with bitmap data.
The given tiles are horizontally adjacent.
| startLine | y coordinate of the first line in the set of tiles |
| lineCount | The number of lines that are to be filled. This equals the height of the tiles |
| tileWidth | The width of one tile |
| firstTile | Index of the first tile provided. This means that the first x coordinate is firsttile * tileWidth |
| tiles | The tiles that are to be filled. |
Implemented in Source1Bpp, Source2Bpp, Source4Bpp, Source8Bpp, Scroom::Pnm::BinarySource, Scroom::Pnm::AsciiSource, Scroom::Pnm::AsciiSource1bpp, and Scroom::Tiff::Source.
|
pure virtual |
Implemented in Source1Bpp, Source2Bpp, Source4Bpp, Source8Bpp, Scroom::Pnm::Source, and Scroom::Tiff::Source.