View Full Version : How can i draw picture with Qpen
akkarachai
22nd November 2019, 10:03
I have the picture this13292 and How can I draw picture with free hand on it's?
like this13293
:)
d_stranz
23rd November 2019, 04:19
Did you look at Qt's Scribble (https://doc.qt.io/qt-5/qtwidgets-widgets-scribble-example.html) and Image Viewer (https://doc.qt.io/qt-5/qtwidgets-widgets-imageviewer-example.html) examples? You should think about how you can combine the concepts in these two examples to capture mouse movement and use those to change pixels on a QImage or QPixmap.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.