mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 03:40:31 +02:00
Some image change
This commit is contained in:
25
IntelliPhoto/Painting/Image/IntelliRasterImage.cpp
Normal file
25
IntelliPhoto/Painting/Image/IntelliRasterImage.cpp
Normal file
@@ -0,0 +1,25 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user