Function drawLine from qttools
Brief description
drawLine(image:QImage,start:QPoint,end:QPoint,color:QColor):void
Draws a line segment into a QImage More ...
Function information
Name: | drawLine |
Base: | QImage |
Group: | Qt plugins:Image plugins |
Icon: | qtimage.png |
Color: | darkGreen |
Authors: | Aless Lasaruk |
Copyright: | (c) 2010 Aless Lasaruk |
Detailed description
Draws a line segment into a QImage
Input parameters
-
image:
QImage
- Image to draw the line to
-
start:
QPoint
- Starting point of the line
-
end:
QPoint
- Ending point of the line
-
color:
QColor
- Color of the line
Return values
-
Default return value:
void