Marble::TileCreatorSource

Search for usage in LXR

Marble::TileCreatorSource Class Referenceabstract

#include <TileCreator.h>

Public Member Functions

virtual QSize fullImageSize () const =0
 
virtual QImage tile (int n, int m, int tileLevel)=0
 

Detailed Description

Base Class for custom tile source.

Implement this class to have more control over the tile creating process. This is needed when creating with a high tileLevel where the whole source image can't be loaded at once.

Definition at line 30 of file TileCreator.h.

Member Function Documentation

◆ fullImageSize()

virtual QSize Marble::TileCreatorSource::fullImageSize ( ) const
pure virtual

Must return the full size of the source image.

◆ tile()

virtual QImage Marble::TileCreatorSource::tile ( int n,
int m,
int tileLevel )
pure virtual

Must return one specific tile.

tileLevel can be used to calculate the number of tiles in a row or column


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.