Re: [Plplot-devel] wxGCDC

2013-10-17 Thread phil rosenberg
Hi All I've attached a patch which should give support for using wxGCDC. It is not finished or watertight, but it does work on my windows machine so i thought now was a good point to send it round to check for any platform dependant differences, so if someone could try it on a linux machine or a

Re: [Plplot-devel] wxGCDC

2013-10-15 Thread phil rosenberg
Hi Alan xGCDC is available in 2.8, but looking at 2.9 it seems that it is being slowly expanded to enable it to wrap other wxDCs. My comments about 2.9 were just regarding future proofing.   Phil On Wednesday, 16 October 2013, 1:58, Alan W. Irwin wrote: On 2013-10-15 16:41-0700 phil rose

Re: [Plplot-devel] wxGCDC

2013-10-15 Thread Alan W. Irwin
On 2013-10-15 16:41-0700 phil rosenberg wrote: > After a bit of playing around it seems that wxGCDC uses a similar trick to some Plplot drivers in that it pretends to have a bigger size than the bitmap it is drawing on (1x1 units). This means we do get subpixel accuracy and better than 1 p

Re: [Plplot-devel] wxGCDC

2013-10-15 Thread phil rosenberg
After a bit of playing around it seems that wxGCDC uses a similar trick to some Plplot drivers in that it pretends to have a bigger size than the bitmap it is drawing on (1x1 units). This means we do get subpixel accuracy and better than 1 pixel accuracy line widths. However it is up to

[Plplot-devel] wxGCDC

2013-10-15 Thread phil rosenberg
I've started this with a new thread title as it had deviated significantly from the original topic.   Given the suggestion that we streamline the wxWidgets driver I've been looking into wxGCDC which provides access to wxGraphicsContext but via a wxDC interface. On my Windows system I can create