mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 20:00:32 +02:00
Performance Update
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user