On Wed, Aug 03, 2011 at 10:17:08PM -0400, Hezekiah M. Carty wrote:
> On Wed, Aug 3, 2011 at 9:54 PM, Alan W. Irwin <ir...@beluga.phys.uvic.ca> 
> wrote:
> > On 2011-08-03 19:14-0400 Hezekiah M. Carty wrote:
> >
> >> On Wed, Aug 3, 2011 at 8:57 AM, Andrew Ross
> >> <andrewr...@users.sourceforge.net> wrote:
> >>>
> >>> I've now properly implemented the rotate option in plarc and updated
> >>> the documentation. I've also modified example 27 to provide a more
> >>> rigorous test / demonstration of the plarc capabilities.
> >>
> >> I have updated the Cairo driver to support rotated arcs as well, as it
> >> uses Cairo's arc primitive rather than drawing an arc as a polygon.
> >
> > Those results look much better than the equivalent polyline ones.
> >
> > I would always like qt to keep up with cairo and vice versa so I hope
> > somebody is willing to do the same thing for the qt device driver.
> > QPainter::drawArc documented at
> > http://doc.qt.nokia.com/4.7/qpainter.html#drawarc looks like it would
> > be quite helpful.
> >
> 
> I don't know Qt or the structure of the Qt driver well enough to make
> the addition, but the Cairo implementation should provide a reasonable
> example to work from for someone who does.  I think the SVG driver and
> possibly others could have "native" rotated arc support as well.

I've now implemented driver support for arcs (including rotated arcs) in
the Qt driver too. I'm no Qt expert, but all looks to work fine. 

There does seem to be a lot of duplicated code in the Qt driver for the 
different flavours of device. From a maintenance point of view it would
be good to streamline this a bit. Since it is all in C++ this should be
perfectly do-able. Another little project for the list...

Andrew

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to