Performance Update

This commit is contained in:
Sonaion
2019-12-18 20:37:38 +01:00
parent c9a88909ad
commit 2ceacff4ef
3 changed files with 29 additions and 44 deletions

View File

@@ -78,6 +78,6 @@ void IntelliImage::drawPlain(const QColor& color){
imageData.fill(color);
}
QColor IntelliImage::getPixelColor(int x, int y){
return imageData.pixelColor(x,y);
QColor IntelliImage::getPixelColor(QPoint& point){
return imageData.pixelColor(point);
}

View File

@@ -51,7 +51,7 @@ public:
//loads an image to the ColorBuffer
virtual bool loadImage(const QString &fileName);
virtual QColor getPixelColor(int x, int y);
virtual QColor getPixelColor(QPoint& point);
};
#endif