qt-interest@trolltech.com
[Top] [All Lists]

Re: how to draw arcs in qcanvas ?

Subject: Re: how to draw arcs in qcanvas ?
From: Sumit Nagpal
Date: Thu, 17 Feb 2005 14:01:57 +0530
yeah i checked it but it makes closed figures whne I pass control points.
But now I have got a solution.
I use Beizer algorithms to generate 100s of points on the curve using my control points. Then I draw QCanvasLine between each set of points and the final figure looks like an ARC.
:)

--Sumit Nagpal

Matthieu Dazy wrote:

Sumit Nagpal wrote:

I think my problem would be solved if I can know the way to make arcs/curves using QCanvasSpline


Well, have you checked the doc for QCanvasSpline ? It's quite clear and straightforward.


--
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>