Class

CoglBitmap

Description

final class Cogl.Bitmap : GObject.TypeInstance {
  /* No available fields */
}
No description available.

Hierarchy

hierarchy this CoglBitmap ancestor_0 CoglObject ancestor_0--this

Ancestors

Constructors

cogl_bitmap_new_for_data

Creates a bitmap using some existing data. The data is not copied so the application must keep the buffer alive for the lifetime of the CoglBitmap. This can be used for example with cogl_framebuffer_read_pixels_into_bitmap() to read data directly into an application buffer with the specified rowstride.

Available since: 1.10

cogl_bitmap_new_from_buffer

Wraps some image data that has been uploaded into a CoglBuffer as a CoglBitmap. The data is not copied in this process.

Available since: 1.8

cogl_bitmap_new_from_file

Loads an image file from disk. This function can be safely called from within a thread.

Available since: 1.0

cogl_bitmap_new_with_size

Creates a new CoglBitmap with the given width, height and format. The initial contents of the bitmap are undefined.

Available since: 1.10

Instance methods

cogl_bitmap_get_buffer
No description available.

Available since: 1.10

cogl_bitmap_get_format
No description available.

Available since: 1.10

cogl_bitmap_get_height
No description available.

Available since: 1.10

cogl_bitmap_get_rowstride
No description available.

Available since: 1.10

cogl_bitmap_get_width
No description available.

Available since: 1.10

Methods inherited from CoglObject (2)
cogl_object_get_user_data

Finds the user data previously associated with object using the given key. If no user data has been associated with object for the given key this function returns NULL.

Available since: 1.4

cogl_object_set_user_data

Associates some private user_data with a given CoglObject. To later remove the association call cogl_object_set_user_data() with the same key but NULL for the user_data.

Available since: 1.4

Functions

cogl_bitmap_error_quark
No description available.
cogl_bitmap_get_size_from_file

Parses an image file enough to extract the width and height of the bitmap.

Available since: 1.0