Alpha Version

it dose something right but let's see
This commit is contained in:
Mienek
2020-01-23 13:47:44 +01:00
parent c8b0328f63
commit 1472028a81
7 changed files with 7 additions and 28 deletions

View File

@@ -10,11 +10,11 @@ IntelliShapedImage::IntelliShapedImage(int width, int height, bool fastRendererO
this->fastRenderering = fastRendererOn;
}
IntelliShapedImage::Copy(const IntelliShapedImage& image)
: IntelliRasterImage(image.getWidth(), image.getHeight(), image.isFastRendering()){
IntelliShapedImage* IntelliShapedImage::copy(const IntelliShapedImage& image){
this->TypeOfImage = ImageType::SHAPEDIMAGE;
IntelliShapedImage* shaped = new IntelliShapedImage(imageData.width(), imageData.height(), this->fastRenderering);
shaped->imageData.copy(0,0,image.getWidth(),image.getWidth());
return shaped;
}
IntelliShapedImage::~IntelliShapedImage(){