comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Resizeable Graphics window
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Resizeable Graphics window [message #75202 is a reply to message #75117] Thu, 17 February 2011 12:52 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jeremy Bailin writes:

> Ah yes, that's clearly a better option. :-)= Lots of nice little tricks within CG still to learn...
>
> Speaking of which, I've got another odd issue with the aspect ratio of output. If I output a postscript file, I get the wrong aspect ratio, but if I out a .png file via ImageMagick, I get the right aspect ratio. Even weirder is that if I set ps_delete=0, the intermediate postscript file has the *right* aspect ratio. I've looked at the code in both sections, and I can't see any difference that could account for it... and if I try to manually run the commands that create
the ImageMagicked .png file, I get the wrong aspect ratio!
>
> So I'm befuddled. :-)=

My fault. I need to make the resizeable graphics window
the current graphics window before I call PS_Start,
so that PS_Start will get the proper window aspect
ratio. It was using the default window aspect ratio,
rather than the correct one.

I'll update in just a few minutes. I'm right in the
middle of writing some notes for the new Get_Keyword
functionality for cgControl.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Yesterday's Coyote Graphics Update
Next Topic: Re: working on multiple z buffers at once?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 11:00:08 PDT 2025

Total time taken to generate the page: 0.95925 seconds