Re: BonoboZoomable - BonoboZoomLevel



Szekeres Istvan <szekeres cyberspace mht bme hu> writes:

> On Mon, Oct 16, 2000 at 08:22:29AM -0400, Michael Meeks wrote:
> >         Why do we want to do this ? surely the zoom is expressed as a
> > percentage ? I can't see an application for this, and it seems to
> > complicate the interface rather, what do you anticipate putting in the
> > label apart from 100%, 200%, 300%, 'default [ should be 1.0 ]' etc. ? 
> 
> Acrobat Reader has the zoom option "Fit in window", "Fit width in window".  
> In these cases the user is totally uninterested in that the zoom factor is  
> 1.7689234876 for the first case and 1.9234 for the second.

I don't think this need to be handled by the IDL.

When the application tells the component to "zoom_to_fit", it knows that it
did so and can display this instead of the zoom level.

However, there's still the problem of what "zoom_to_fit" should do:

* zoom to fit in horizontally
* zoom to fit in vertically
* zoom to fit in both directions and scretching the image if needed

-- 
Martin Baulig
martin gnome org (private)
baulig suse de (work)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]