Documentation -Update

This commit is contained in:
Sonaion
2019-12-09 15:45:05 +01:00
parent dc1d42fc9f
commit f26bd13fa5

View File

@@ -233,7 +233,7 @@ void PaintingArea::paintEvent(QPaintEvent *event)
// to cut down on the need to resize the image // to cut down on the need to resize the image
void PaintingArea::resizeEvent(QResizeEvent *event) void PaintingArea::resizeEvent(QResizeEvent *event)
{ {
//TODO Doesnt quit work //TODO wait till tool works
update(); update();
} }
@@ -252,7 +252,6 @@ void PaintingArea::assembleLayers(bool forSaving){
}else{ }else{
Canvas->fill(Qt::GlobalColor::black); Canvas->fill(Qt::GlobalColor::black);
} }
//TODO interpolation of alpha for saving
for(size_t i=0; i<layerStructure.size(); i++){ for(size_t i=0; i<layerStructure.size(); i++){
LayerObject layer = layerStructure[i]; LayerObject layer = layerStructure[i];
QImage cpy = layer.image->getDisplayable(layer.alpha); QImage cpy = layer.image->getDisplayable(layer.alpha);