[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Zoom GUI in fltk backend
From: |
Michael Goffioul |
Subject: |
Re: Zoom GUI in fltk backend |
Date: |
Tue, 30 Jun 2009 08:57:58 +0100 |
On Tue, Jun 30, 2009 at 7:27 AM, Shai Ayal<address@hidden> wrote:
> Thanks for explaining:
> So, perusing src/graphics.cc I think the right function to use is
> get_children_limits as used in the code there, e.g.:
>
> Matrix kids = ap.get_children ();
>
> double min_val = octave_Inf;
> double max_val = -octave_Inf;
> double min_pos = octave_Inf;
> get_children_limits (min_val, max_val, min_pos, kids, 'x');
>
> Note that this function is now static, so it would have to be
> "un-statified" and the prototype would have to go to the
> src/graphics.h.in files
As you mentioned it, this function is static. Maybe this information
could be store into some hidden property of the aces object. So
it's computed once and available for any purpose.
Michael.
Re: Zoom GUI in fltk backend, John Swensen, 2009/06/30