Re: ANNOUNCE: GooCanvas 0.15
- From: Damon Chaplin <damon karuna eclipse co uk>
- To: Bruno Coudoin <bruno coudoin free fr>
- Cc: goocanvas-list gnome org
- Subject: Re: ANNOUNCE: GooCanvas 0.15
- Date: Tue, 30 Jun 2009 08:49:05 +0100
On Tue, 2009-06-30 at 08:22 +0200, Bruno Coudoin wrote:
> > o Added "scale-to-fit" property to GooCanvasImage, to scale the image
> > to the "width" and "height" settings, instead of just clipping.
>
> Excellent, I made a dirty patch last week to have a scale to fit by
> default. It made me possible to make my animation tool with image
> rescaling by anchors.
>
> By the way, I suggest to make this option the default. In my experience
> I never met a need for the clipping feature. Is there some goocanvas
> users here really using the clipping for images ?
>
> If someone use it, they will just have to add "clipping=true" to fix it.
> To me it is important to keep the API consistant, by default all items
> do scale, there is no reason not to follow this rule for the image.
I wouldn't want to change the default behavior. You never know what apps
may break because of it. Setting "scale-to-fit" is fairly easy as well.
Damon
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]