|
| DmabufTexture (DmabufTexture&& src) noexcept |
|
DmabufTexture& | operator= (DmabufTexture&& src) noexcept |
|
| ~DmabufTexture () noexcept override |
|
GdkDmabufTexture* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GdkDmabufTexture* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GdkDmabufTexture* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
| Texture (Texture&& src) noexcept |
|
Texture& | operator= (Texture&& src) noexcept |
|
| ~Texture () noexcept override |
|
GdkTexture* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GdkTexture* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GdkTexture* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
int | get_width () const |
| Returns the width of texture, in pixels. More...
|
|
int | get_height () const |
| Returns the height of the texture, in pixels. More...
|
|
MemoryFormat | get_format () const |
| Gets the memory format most closely associated with the data of the texture. More...
|
|
void | download (guchar*data, gsize stride) const |
| Downloads the texture into local memory. More...
|
|
bool | save_to_png (const Glib::ustring& filename) const |
| Store the given texture to the filename as a PNG file. More...
|
|
Glib::RefPtr< Glib::Bytes > | save_to_png_bytes () const |
| Store the given texture in memory as a PNG file. More...
|
|
bool | save_to_tiff (const std::string& filename) const |
| Store the given texture to the filename as a TIFF file. More...
|
|
Glib::RefPtr< Glib::Bytes > | save_to_tiff_bytes () const |
| Store the given texture in memory as a TIFF file. More...
|
|
Glib::PropertyProxy_ReadOnly< int > | property_width () const |
| The width of the texture, in pixels. More...
|
|
Glib::PropertyProxy_ReadOnly< int > | property_height () const |
| The height of the texture, in pixels. More...
|
|
| Paintable (Paintable&& src) noexcept |
|
Paintable& | operator= (Paintable&& src) noexcept |
|
| ~Paintable () noexcept override |
|
GdkPaintable* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GdkPaintable* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
void | snapshot (const Glib::RefPtr< Gdk::Snapshot >& snapshot, double width, double height) |
| Snapshots the given paintable with the given width and height. More...
|
|
Glib::RefPtr< const Paintable > | get_current_image () const |
| Gets an immutable paintable for the current contents displayed by paintable. More...
|
|
Flags | get_flags () const |
| Get flags for the paintable. More...
|
|
int | get_intrinsic_width () const |
| Gets the preferred width the paintable would like to be displayed at. More...
|
|
int | get_intrinsic_height () const |
| Gets the preferred height the paintable would like to be displayed at. More...
|
|
double | get_intrinsic_aspect_ratio () const |
| Gets the preferred aspect ratio the paintable would like to be displayed at. More...
|
|
void | compute_concrete_size (double specified_width, double specified_height, double default_width, double default_height, double& concrete_width, double& concrete_height) const |
| Compute a concrete size for the Gdk::Paintable . More...
|
|
void | invalidate_contents () |
| Called by implementations of Gdk::Paintable to invalidate their contents. More...
|
|
void | invalidate_size () |
| Called by implementations of Gdk::Paintable to invalidate their size. More...
|
|
Glib::SignalProxy< void()> | signal_invalidate_contents () |
|
Glib::SignalProxy< void()> | signal_invalidate_size () |
|
A Gdk::Texture representing a dma-buf object.
To create a Gdk::DmabufTexture, use the auxiliary Gdk::DmabufTextureBuilder object.
Dma-buf textures can only be created on Linux.
- Since gtkmm 4.14: