How to draw a single line to image.
Graphics::drawLine, Graphics::drawVerticalLine, etc etc… It’s all there in the Graphics class.
Thanks for the quick reply. But I want to draw a line and want to capture it in image pointer.
How to do that
The Graphics class has a constructor that takes an image to draw onto. This is explained in the description of the Image class… Perhaps there’s somewhere else I should have explained it to make it more obvious?