#include <tiledbitmapinterface.hh>
|
| 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 |
| |
◆ Ptr
◆ done()
| virtual void SourcePresentation::done |
( |
| ) |
|
|
pure virtual |
◆ fillTiles()
| virtual void SourcePresentation::fillTiles |
( |
int |
startLine, |
|
|
int |
lineCount, |
|
|
int |
tileWidth, |
|
|
int |
firstTile, |
|
|
std::vector< Tile::Ptr > & |
tiles |
|
) |
| |
|
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.
- Parameters
-
| 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 Source8Bpp, Source4Bpp, Source2Bpp, Source1Bpp, and Scroom::Tiff::Source.
◆ getName()
| virtual std::string SourcePresentation::getName |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: