Hi to all.
I want to draw arc between two points with center point known .
Hi to all.
I want to draw arc between two points with center point known .
As you know from Qt Docs, QPainter::drawArc requires a QRect, a startAngle and stopAngle.
If you know the arc center point e the other two points you can calculate theese values using basic 2D geometry calculation
Last edited by mcosta; 19th April 2011 at 13:55. Reason: reformatted to look better
A camel can go 14 days without drink,
I can't!!!
Bookmarks