mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 03:40:31 +02:00
Image structure
This commit is contained in:
@@ -3,23 +3,25 @@
|
||||
#include<QRect>
|
||||
#include<QDebug>
|
||||
|
||||
IntelliRasterimage::IntelliRasterimage(int weight, int height)
|
||||
IntelliRasterImage::IntelliRasterImage(int weight, int height)
|
||||
:IntelliImage(weight, height){
|
||||
|
||||
}
|
||||
|
||||
IntelliRasterimage::~IntelliRasterimage(){
|
||||
IntelliRasterImage::~IntelliRasterImage(){
|
||||
|
||||
}
|
||||
|
||||
QImage IntelliRasterImage::getDisplayable(){
|
||||
return getDisplayable(imageData.size());
|
||||
}
|
||||
|
||||
|
||||
QImage IntelliRasterimage::getDisplayable(const QSize& displaySize){
|
||||
QImage IntelliRasterImage::getDisplayable(const QSize& displaySize){
|
||||
QImage copy = imageData;
|
||||
return copy.scaled(displaySize,Qt::IgnoreAspectRatio);
|
||||
}
|
||||
|
||||
void IntelliRasterimage::setPolygon(const std::vector<QPoint>& polygonData){
|
||||
void IntelliRasterImage::setPolygon(const std::vector<QPoint>& polygonData){
|
||||
qDebug() << "Raster Image has no polygon data " << polygonData.size() <<"\n";
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user