[Qt-interest] How to implement a graphical curve drawing/editing tool
hakiim the dream
hakiim35 at hotmail.com
Mon Dec 20 19:27:56 CET 2010
> Date: Mon, 20 Dec 2010 10:54:43 +0100
> Subject: Re: [Qt-interest] How to implement a graphical curve drawing/editing tool
> From: andre at familiesomers.nl
> To: hakiim35 at hotmail.com
>
> Op Ma, 20 december, 2010 10:44 am, schreef hakiim the dream:
> >
> > Hi all, I need to implement a graphical curve editing tool. The interface
> > would be similar to the Curve tool of Gimp or PaintDotNet, aiming at image
> > adjustment.The user can edit any point on the initial curve(y=x line) by
> > clicking and then dragging the point via mouse move.The curve then should
> > instantly be updated based on the new position of its edited point, taking
> > the proper shape via mathematical euqations.I have basic knowledge about
> > QGraphicsView and QGraphicsScene, but this task seems a bit harder for my
> > level of experience.Any ideas or any directions to similar available
> > applications/source codes are highly appreciated.
>
> Perhaps the Path Stroking demo (available under Demonstrations in the Qt
> Examples and Demo' s application) is a good starting point?
>
> André
>
Thanks Sean and André, it would be a starting point though it is not exactly what I want since it controls the shape of the curve using a constant number of points..
It would be great to place an anchor point on the curve after the current dragging is finished, so that the updated curve is forced to include that point in further manipulations..
Any more suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101220/a091d222/attachment.html
More information about the Qt-interest-old
mailing list