mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-12 19:40:28 +02:00
26 lines
574 B
C++
26 lines
574 B
C++
#include"Image/IntelliRasterImage.h"
|
|
#include<QPainter>
|
|
#include<QRect>
|
|
#include<QDebug>
|
|
|
|
IntelliRasterimage::IntelliRasterimage(int weight, int height)
|
|
:IntelliImage(weight, height){
|
|
|
|
}
|
|
|
|
IntelliRasterimage::~IntelliRasterimage(){
|
|
|
|
}
|
|
|
|
|
|
|
|
QImage IntelliRasterimage::getDisplayable(const QSize& displaySize){
|
|
QImage copy = imageData;
|
|
return copy.scaled(displaySize,Qt::IgnoreAspectRatio);
|
|
}
|
|
|
|
void IntelliRasterimage::setPolygon(const std::vector<QPoint>& polygonData){
|
|
qDebug() << "Raster Image has no polygon data " << polygonData.size() <<"\n";
|
|
return;
|
|
}
|