Re: gnome_canvas_item_scale
- From: Federico Mena Quintero <federico redhat com>
- To: nodatadj webtribe net
- CC: gnome-list gnome org
- Subject: Re: gnome_canvas_item_scale
- Date: Thu, 16 Sep 1999 17:10:47 -0400
> The function gnome_canvas_item_scale no longer exists in the library
> (although it's still in the header file). What function(s) can I use to make
> perform a scale on an item. I'm guessing it's something to do with the
> affine transformations, but I don't understand them enough.
You can use gnome_canvas_item_affine_relative().
You should pick up any book on analytic geometry or computer graphics
and give a read to what it has to say on affine transformations.
Basicallly, an affine transformation in 2D is a matrix that you can
use to transform a point.
You can set up these matrices using the art_affine_*() functions in
libart.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]