Enumeration

CoglBitmapError

since: 13

Declaration

enum Cogl.BitmapError

Description [src]

Error codes that can be thrown when performing bitmap operations. Note that gdk_pixbuf_new_from_file() can also throw errors directly from the underlying image loading library. For example, if GdkPixbuf is used then errors GdkPixbufErrors will be used directly.

Available since: 13

Members

COGL_BITMAP_ERROR_FAILED

Generic failure code, something went wrong.

  • Value: 0
  • Nickname: None
  • Available since: 13
COGL_BITMAP_ERROR_UNKNOWN_TYPE

Unknown image type.

  • Value: 1
  • Nickname: None
  • Available since: 13
COGL_BITMAP_ERROR_CORRUPT_IMAGE

An image file was broken somehow.

  • Value: 2
  • Nickname: None
  • Available since: 13