On 2013-01-31 11:48-0600 RM wrote:

> Hi Alan and all,
> 
> We're using the wxWidgets driver.  c++ 
> 
> Below is a sampling of code to calculate the viewport.  Our devs found that 
> the wx driver expected a 10mm x 7.5mm window size and had to
> do a lot of fiddling to get things to work right.
> 
> We use the slabelfunc() to create custom labels (not shown).
> 
> And, we do *not* use any special font scaling as defined by: plschr().  We're 
> just accepting the defaults.
> 
> Could this be an issue with the wx driver or are we doing something 
> incorrectly?

The short answer is I think you must be doing something incorrectly.

Now for the longer story....

The wxwidgets device doesn't have the same popularity as say the cairo
and qt device drivers which provide alternative to wxwidgets which
also work on all platforms. However, we fully support the wxwidgets
device in the sense if users send in patches for wxwidgets that appear
also to work for us, we are happy to apply those patches.

That said, I don't think a wxwidgets patch will be necessary in this
case.

To prove that for yourself, please run

examples/c/x01c -dev wxwidgets -a 1.

and

examples/c/x01c -dev wxwidgets -a 2.

which produce wxwidgets results at two different aspect ratios.

Those results look good on my own Linux box (using the wxGC version of
that device by default). If they don't give you good looking results,
we should start comparing screenshots (off list).  However, I expect
they will give you good looking results in which case you should be
copying the broader aspects of how any of our standard examples (such
as the first one) are implemented so your own code starts producing
good looking results with wxwidgets as well.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to