Re: simple rotation support for gdk-pixbuf
- From: Sven Neumann <sven gimp org>
- To: Matthias Clasen <mclasen redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: simple rotation support for gdk-pixbuf
- Date: 20 Jun 2004 10:27:48 +0200
Hi,
Matthias Clasen <mclasen redhat com> writes:
> typedef enum {
> GDK_PIXBUF_ANGLE_0 = 0,
> GDK_PIXBUF_ANGLE_90 = 90,
> GDK_PIXBUF_ANGLE_180 = 180,
> GDK_PIXBUF_ANGLE_270 = 270
> } GdkPixbufAngle;
What about
typedef enum
{
GDK_PIXBUF_ROTATE_NONE = 0,
GDK_PIXBUF_ROTATE_LEFT = 90,
GDK_PIXBUF_ROTATE_UPSIDEDOWN = 180, (???)
GDK_PIXBUF_ROTATE_RIGHT = 270
} GdkPixbufRotation;
or similar to avoid the problem of how to interpret the angles?
Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]