Re: simple rotation support for gdk-pixbuf




On Jun 20, 2004, at 7:53 AM, John Cupitt wrote:

On 20 Jun 2004 10:27:48 +0200, Sven Neumann <sven gimp org> wrote:
or similar to avoid the problem of how to interpret the angles?

Even that confuses me :-( does it mean the top of the image moving to
the right, or the bottom? Image processing textbooks always have
increasing angles meaning anticlockwise rotation (hope I've got that
the right way around), I'd say that was the safest model.

given your own uncertainty, i think you proved the "don't use the numbers" argument.

what about

    GDK_PIXBUF_ROTATE_NONE
    GDK_PIXBUF_ROTATE_CLOCKWISE
    GDK_PIXBUF_ROTATE_UPSIDEDOWN
    GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE

?

--
Examples really shouldn't include unexploded ordinance.
  -- Joe Smith, referring to an example program i wrote.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]