mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-16 21:30:31 +02:00
hotfix for transparence
This commit is contained in:
@@ -23,7 +23,7 @@ IntelliRasterImage::~IntelliRasterImage(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
IntelliImage* IntelliRasterImage::getDeepCopy(){
|
IntelliImage* IntelliRasterImage::getDeepCopy(){
|
||||||
IntelliRasterImage* raster = new IntelliRasterImage(imageData.width(), imageData.height(), this->fastRenderering);
|
IntelliRasterImage* raster = new IntelliRasterImage(imageData.width(), imageData.height(), false);
|
||||||
raster->imageData.fill(Qt::transparent);
|
raster->imageData.fill(Qt::transparent);
|
||||||
raster->TypeOfImage = ImageType::RASTERIMAGE;
|
raster->TypeOfImage = ImageType::RASTERIMAGE;
|
||||||
return raster;
|
return raster;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ QImage IntelliShapedImage::getDisplayable(int alpha){
|
|||||||
}
|
}
|
||||||
|
|
||||||
IntelliImage* IntelliShapedImage::getDeepCopy(){
|
IntelliImage* IntelliShapedImage::getDeepCopy(){
|
||||||
IntelliShapedImage* shaped = new IntelliShapedImage(imageData.width(), imageData.height(), this->fastRenderering);
|
IntelliShapedImage* shaped = new IntelliShapedImage(imageData.width(), imageData.height(), false);
|
||||||
shaped->setPolygon(this->polygonData);
|
shaped->setPolygon(this->polygonData);
|
||||||
shaped->imageData.fill(Qt::transparent);
|
shaped->imageData.fill(Qt::transparent);
|
||||||
shaped->TypeOfImage = ImageType::SHAPEDIMAGE;
|
shaped->TypeOfImage = ImageType::SHAPEDIMAGE;
|
||||||
|
|||||||
Reference in New Issue
Block a user