Merge branch 'dev-tools-seb' into dev-docs

This commit is contained in:
Sonaion
2019-12-18 20:39:24 +01:00
4 changed files with 83 additions and 6 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

@@ -121,11 +121,10 @@ public:
/*!
* \brief A function that returns the pixelcolor at a certain point
* \param x - The x-coordinate of the point.
* \param y - The y-coordintae of the point.
* \param point - The point from whcih to get the coordinates.
* \return The color of the Pixel as QColor.
*/
virtual QColor getPixelColor(int x, int y);
virtual QColor getPixelColor(QPoint& point);
};
#endif