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

Home » Public Forums » archive » Re: Object Graphic Slows on resize
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: Object Graphic Slows on resize [message #32881 is a reply to message #32879] Fri, 15 November 2002 15:52 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mark Servetus (markservetus@hotmail.com) writes:

> I have a single IDLgrView with several IDLgrImage objects (including
> transparancies). I drag them around and do other mouse events with
> objects just fine, with good performance.
>
> However, once I resize the window and it re-draws, everything slows
> terribly.
>
> It seems to me that the cache is created with their original sizes,
> and upon resize, all subsequent draws have to do major interpolation
> from the cache. The only guess that has made sense to me yet. (It
> happens even when I shrink the window.)

I'm going to guess you are doing something that a couple
of weeks from now, when you know better, you would just
as soon nobody knew about. There is really no reason for
the drawing output to slow down noticeably that I can
think of. Well, objects are *always* slower than direct
graphics, but never obnoxiously slow, unless you have done
something wrong (easy to do).

I'd have a good long look at that code. With object graphics
there are always a handful of ways to implement your graphics
tree. I'd try another way and see if your results are similar.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: atmosphere removal program ATREM
Next Topic: use of 'obj_new' within another object definition

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

Current Time: Mon Dec 01 23:43:56 PST 2025

Total time taken to generate the page: 2.40303 seconds