enum GdkPixbuf::PixbufRotation

Overview

The possible rotations which can be passed to gdk_pixbuf_rotate_simple().

To make them easier to use, their numerical values are the actual degrees.

Defined in:

lib/gi-crystal/src/auto/gdk_pixbuf-2.0/gdk_pixbuf.cr

Enum Members

None = 0_u32

No rotation.

Counterclockwise = 90_u32

Rotate by 90 degrees.

Upsidedown = 180_u32

Rotate by 180 degrees.

Clockwise = 270_u32

Rotate by 270 degrees.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def clockwise? #

[View source]
def counterclockwise? #

[View source]
def none? #

[View source]
def upsidedown? #

[View source]