mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
21 lines
682 B
Plaintext
21 lines
682 B
Plaintext
|
class QgsRasterDrawer
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgsrasterdrawer.h>
|
||
|
%End
|
||
|
public:
|
||
|
QgsRasterDrawer( QgsRasterIterator *iterator );
|
||
|
~QgsRasterDrawer();
|
||
|
|
||
|
void draw( QPainter* p, QgsRasterViewPort* viewPort, const QgsMapToPixel* theQgsMapToPixel );
|
||
|
|
||
|
protected:
|
||
|
/**Draws raster part
|
||
|
@param p the painter to draw to
|
||
|
@param viewPort view port to draw to
|
||
|
@param img image to draw
|
||
|
@param topLeftCol Left position relative to left border of viewport
|
||
|
@param topLeftRow Top position relative to top border of viewport*/
|
||
|
void drawImage( QPainter* p, QgsRasterViewPort* viewPort, const QImage& img, int topLeftCol, int topLeftRow ) const;
|
||
|
};
|