Hi Mark:

Thanks for the input as always.

I've added a frequency sweep range and some scaling options since my post,
so I will merge in your suggestions and see what I get.

The first post was obviously premature since the GD integration turned out
to be very straight forward. At least there's another demo to throw on the
pile. I was surprised that I didn't find something similar already posted.
But, I guess that commercial solutions don't necessarily make it into the
common domain.

James

PS: If you're bored, there's a WX printing question posted on PM that I
didn't really find a clear answer to in the docs. It concerns switching
from portrait to landscape orientation. Or in general setting up print
setup dialog options.



On Fri, Jun 28, 2013 at 2:14 PM, Mark Dootson <mark.doot...@znix.com> wrote:

> Hi James,
>
>
> On 24/06/2013 20:23, James Lynes wrote:
>
>> Should be easy to
>> pull the generated file into a PaintDC if you don't want to launch an
>> outboard file viewer. I may or may not get to that.
>>
>
> I added a simple viewer to your code by:
> 1. changing your Graph method a little
> 2. adding display classes DisplayDialog and DisplayPanel
>
> I though it would be useful to demo getting the raw data from your GD
> object and displaying it in a Wx::Panel without needing to save to a file.
> It also removes the need for an external viewer and is cross platform.
>
> Hope it helps
>
> Mark
>
>

Reply via email to