Re: [Plplot-devel] Driver behavior questions and wingdi preview

2015-06-15 Thread Phil Rosenberg
Yeah, that seems like a good argument to me On 15 June 2015 at 03:30, Jim Dishaw j...@dishaw.org wrote: On Jun 14, 2015, at 5:28 AM, Phil Rosenberg p.d.rosenb...@gmail.com wrote: On 11 June 2015 at 17:57, Jim Dishaw j...@dishaw.org wrote: On Jun 11, 2015, at 4:06 AM, Phil Rosenberg

Re: [Plplot-devel] Driver behavior questions and wingdi preview

2015-06-14 Thread Phil Rosenberg
On 11 June 2015 at 17:57, Jim Dishaw j...@dishaw.org wrote: On Jun 11, 2015, at 4:06 AM, Phil Rosenberg p.d.rosenb...@gmail.com wrote: Hi Jim The documentation states that the provided text height will be in mm. The user can set dpi with plspage so you should use the PLStream-xdpi and

Re: [Plplot-devel] Driver behavior questions and wingdi preview

2015-06-14 Thread Jim Dishaw
On Jun 14, 2015, at 5:28 AM, Phil Rosenberg p.d.rosenb...@gmail.com wrote: On 11 June 2015 at 17:57, Jim Dishaw j...@dishaw.org mailto:j...@dishaw.org wrote: On Jun 11, 2015, at 4:06 AM, Phil Rosenberg p.d.rosenb...@gmail.com wrote: Hi Jim The documentation states that the provided

Re: [Plplot-devel] Driver behavior questions and wingdi preview

2015-06-11 Thread Greg Jung
The recent addition to struct wingcc_dev: PLGraphicsIn gin; Serves no purpose (other than to break backwards compatibility) and shouldn't be propagated. It was only thrown in there because xwin.c has something similar. I would like to try wingdi.c but dont have a baseline file to run a patch

Re: [Plplot-devel] Driver behavior questions and wingdi preview

2015-06-11 Thread Phil Rosenberg
Hi Jim The documentation states that the provided text height will be in mm. The user can set dpi with plspage so you should use the PLStream-xdpi and PLStream-ydpi to size your text in pixels. In case the user hasn't set this you should use a sensible default. Of course the actual value will

Re: [Plplot-devel] Driver behavior questions and wingdi preview

2015-06-11 Thread Alan W. Irwin
On 2015-06-10 21:44-0400 Jim Dishaw wrote: [...]The driver does not support alpha blending or native gradient fills. I’m not sure if it is worthwhile to add these features in this driver, particular with a Direct2D version on the horizon. To Jim and Aaron: I didn't completely understand what

Re: [Plplot-devel] Driver behavior questions and wingdi preview

2015-06-11 Thread Jim Dishaw
On Jun 11, 2015, at 11:42 AM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2015-06-10 21:44-0400 Jim Dishaw wrote: [...]The driver does not support alpha blending or native gradient fills. I’m not sure if it is worthwhile to add these features in this driver, particular with a

Re: [Plplot-devel] Driver behavior questions and wingdi preview

2015-06-11 Thread Jim Dishaw
On Jun 11, 2015, at 4:06 AM, Phil Rosenberg p.d.rosenb...@gmail.com wrote: Hi Jim The documentation states that the provided text height will be in mm. The user can set dpi with plspage so you should use the PLStream-xdpi and PLStream-ydpi to size your text in pixels. In case the user

Re: [Plplot-devel] Driver behavior questions and wingdi preview

2015-06-11 Thread Alan W. Irwin
On 2015-06-11 12:20-0400 Jim Dishaw wrote: On Jun 11, 2015, at 11:42 AM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2015-06-10 21:44-0400 Jim Dishaw wrote: [...]The driver does not support alpha blending or native gradient fills. I’m not sure if it is worthwhile to add these

[Plplot-devel] Driver behavior questions and wingdi preview

2015-06-10 Thread Jim Dishaw
I have two questions on driver behavior that I’m trying to figure out. In the new wingdi driver I have implemented text rendering using the GDI interface. The current implementation honors the height specified in chrht. I have measured the heights both on the screen and when printed via