Re: simple rotation support for gdk-pixbuf



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]