Re: gnome_canvas_item_rotate
- From: Miguel de Icaza <miguel gnu org>
- To: tim16 polbox com
- CC: gnome-devel-list gnome org
- Subject: Re: gnome_canvas_item_rotate
- Date: Sun, 27 Jun 1999 10:18:26 -0500
> /* Rotate an item about a point by the specified number of degrees */
> void gnome_canvas_item_rotate (GnomeCanvasItem *item, double x, double y, double angle);
>
> yet, when I try to use it, I get the following error:
These days what you want is to apply an affine transformation:
> /* Apply a relative affine transformation to the item. */
> void gnome_canvas_item_affine_relative (GnomeCanvasItem *item, const double affine[6]);
>
> /* Apply an absolute affine transformation to the item. */
> void gnome_canvas_item_affine_absolute (GnomeCanvasItem *item, const double affine[6]);
I agree that wrapper routines that would modify the existing affine
would be nice to have to simplify the ammount of stuff you need to learn.
Miguel.
--
GNOME: The royalty free development environment :-)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]