Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » qt5 creator: paint a half circle line inside of a rectangle?(how to paint a half circle line inside of a rectangle? I don't get it, all about QPaintePath is a complete mess... rectangle = scene0->addRect(0, 0, 120, 60, outlinePen, whiteBrush); // that works)
qt5 creator: paint a half circle line inside of a rectangle? [message #1839712] Fri, 26 March 2021 10:46 Go to next message
ahmed rabea is currently offline ahmed rabeaFriend
Messages: 3
Registered: March 2021
Junior Member
QPainterPath* arcp = newQPainterPath;
arcp->moveTo(??);
arcp->arcTo(?????);

scene0->adPat(+arcp); //shows a big mess no matter which parameters I pass
Re: qt5 creator: paint a half circle line inside of a rectangle? [message #1839742 is a reply to message #1839712] Sat, 27 March 2021 06:04 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
This site is for dealing with CDT related issues.
It isn't intended for general programming questions.
You will likely get faster and more accurate answers at a site devoted to Qt 5
or perhaps stackoverflow.com
Previous Topic:[SOLVED] How to create new C project that uses a written makefile ?
Next Topic:MinGW paths from Qt, import CMake project on windows
Goto Forum:
  


Current Time: Wed Sep 25 02:41:00 GMT 2024

Powered by FUDForum. Page generated in 0.02952 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top