Class: Gdk::MemoryTextureBuilder
- Inherits:
-
Object
- Object
- Gdk::MemoryTextureBuilder
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#build ⇒ Gdk::Texture
Builds a new
GdkTexturewith the values set up in the builder. -
#bytes ⇒ GLib::Bytes
The bytes holding the data.
-
#bytes=(bytes) ⇒ GLib::Bytes
The bytes holding the data.
-
#color_state ⇒ Gdk::ColorState
The colorstate describing the data.
-
#color_state=(color_state) ⇒ Gdk::ColorState
The colorstate describing the data.
-
#format ⇒ Gdk::MemoryFormat
The format of the data.
-
#format=(format) ⇒ Gdk::MemoryFormat
The format of the data.
-
#get_offset(plane) ⇒ Integer
Gets the offset previously set via gdk_memory_texture_builder_set_offset().
-
#get_stride_for_plane(plane) ⇒ Integer
Gets the stride previously set via gdk_memory_texture_builder_set_stride_for_plane().
-
#height ⇒ Integer
The height of the texture.
-
#height=(height) ⇒ Integer
The height of the texture.
-
#initialize ⇒ Gdk::MemoryTextureBuilder
constructor
Creates a new texture builder.
-
#set_offset(plane, offset) ⇒ nil
Sets the offset of the texture for plane.
-
#set_stride_for_plane(plane, stride) ⇒ nil
Sets the stride of the texture for plane.
-
#stride ⇒ Integer
The rowstride of the texture.
-
#stride=(stride) ⇒ Integer
The rowstride of the texture.
-
#update_region ⇒ cairo::Region
The update region for [propertyGdk.MemoryTextureBuilder:update-texture].
-
#update_region=(update_region) ⇒ cairo::Region
The update region for [propertyGdk.MemoryTextureBuilder:update-texture].
-
#update_texture ⇒ Gdk::Texture
The texture [propertyGdk.MemoryTextureBuilder:update-region] is an update for.
-
#update_texture=(update_texture) ⇒ Gdk::Texture
The texture [propertyGdk.MemoryTextureBuilder:update-region] is an update for.
-
#width ⇒ Integer
The width of the texture.
-
#width=(width) ⇒ Integer
The width of the texture.
Constructor Details
#initialize ⇒ Gdk::MemoryTextureBuilder
Creates a new texture builder.
Instance Method Details
#build ⇒ Gdk::Texture
Builds a new GdkTexture with the values set up in the builder.
Note that it is a programming error to call this function if any mandatory
property has not been set.
It is possible to call this function multiple times to create multiple textures,
possibly with changing properties in between.
#bytes ⇒ GLib::Bytes
The bytes holding the data.
#bytes=(bytes) ⇒ GLib::Bytes
The bytes holding the data.
#color_state ⇒ Gdk::ColorState
The colorstate describing the data.
#color_state=(color_state) ⇒ Gdk::ColorState
The colorstate describing the data.
#format ⇒ Gdk::MemoryFormat
The format of the data.
#format=(format) ⇒ Gdk::MemoryFormat
The format of the data.
#get_offset(plane) ⇒ Integer
Gets the offset previously set via gdk_memory_texture_builder_set_offset().
#get_stride_for_plane(plane) ⇒ Integer
Gets the stride previously set via gdk_memory_texture_builder_set_stride_for_plane().
#height ⇒ Integer
The height of the texture.
#height=(height) ⇒ Integer
The height of the texture.
#set_offset(plane, offset) ⇒ nil
Sets the offset of the texture for plane.
#set_stride_for_plane(plane, stride) ⇒ nil
Sets the stride of the texture for plane.
#stride ⇒ Integer
The rowstride of the texture.
The rowstride is the number of bytes between the first pixel
in a row of image data, and the first pixel in the next row.
#stride=(stride) ⇒ Integer
The rowstride of the texture.
The rowstride is the number of bytes between the first pixel
in a row of image data, and the first pixel in the next row.
#update_region ⇒ cairo::Region
The update region for [propertyGdk.MemoryTextureBuilder:update-texture].
#update_region=(update_region) ⇒ cairo::Region
The update region for [propertyGdk.MemoryTextureBuilder:update-texture].
#update_texture ⇒ Gdk::Texture
The texture [propertyGdk.MemoryTextureBuilder:update-region] is an update for.
#update_texture=(update_texture) ⇒ Gdk::Texture
The texture [propertyGdk.MemoryTextureBuilder:update-region] is an update for.
#width ⇒ Integer
The width of the texture.
#width=(width) ⇒ Integer
The width of the texture.