|
| | MemoryTexture (MemoryTexture && src) noexcept |
| |
| MemoryTexture & | operator= (MemoryTexture && src) noexcept |
| |
| | ~MemoryTexture () noexcept override |
| |
| GdkMemoryTexture * | gobj () |
| | Provides access to the underlying C GObject.
|
| |
| const GdkMemoryTexture * | gobj () const |
| | Provides access to the underlying C GObject.
|
| |
| GdkMemoryTexture * | gobj_copy () |
| | Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
| |
| | Texture (Texture && src) noexcept |
| |
| Texture & | operator= (Texture && src) noexcept |
| |
| | ~Texture () noexcept override |
| |
| GdkTexture * | gobj () |
| | Provides access to the underlying C GObject.
|
| |
| const GdkTexture * | gobj () const |
| | Provides access to the underlying C GObject.
|
| |
| GdkTexture * | gobj_copy () |
| | Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
| |
| int | get_width () const |
| | Returns the width of texture, in pixels.
|
| |
| int | get_height () const |
| | Returns the height of the texture, in pixels.
|
| |
| MemoryFormat | get_format () const |
| | Gets the memory format most closely associated with the data of the texture.
|
| |
| Glib::RefPtr< ColorState > | get_color_state () const |
| | Returns the color state associated with the texture.
|
| |
| void | download (guchar * data, gsize stride) const |
| | Downloads the texture into local memory.
|
| |
| bool | save_to_png (const Glib::ustring & filename) const |
| | Store the given texture to the filename as a PNG file.
|
| |
| Glib::RefPtr< Glib::Bytes > | save_to_png_bytes () const |
| | Store the given texture in memory as a PNG file.
|
| |
| bool | save_to_tiff (const std::string & filename) const |
| | Store the given texture to the filename as a TIFF file.
|
| |
| Glib::RefPtr< Glib::Bytes > | save_to_tiff_bytes () const |
| | Store the given texture in memory as a TIFF file.
|
| |
| Glib::PropertyProxy_ReadOnly< int > | property_width () const |
| | The width of the texture, in pixels.
|
| |
| Glib::PropertyProxy_ReadOnly< int > | property_height () const |
| | The height of the texture, in pixels.
|
| |
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr< ColorState > > | property_color_state () const |
| | The color state of the texture.
|
| |
| | Paintable (Paintable && src) noexcept |
| |
| Paintable & | operator= (Paintable && src) noexcept |
| |
| | ~Paintable () noexcept override |
| |
| GdkPaintable * | gobj () |
| | Provides access to the underlying C GObject.
|
| |
| const GdkPaintable * | gobj () const |
| | Provides access to the underlying C GObject.
|
| |
| void | snapshot (const Glib::RefPtr< Gdk::Snapshot > & snapshot, double width, double height) |
| | Snapshots the given paintable with the given width and height.
|
| |
| Glib::RefPtr< const Paintable > | get_current_image () const |
| | Gets an immutable paintable for the current contents displayed by paintable.
|
| |
| Flags | get_flags () const |
| | Get flags for the paintable.
|
| |
| int | get_intrinsic_width () const |
| | Gets the preferred width the paintable would like to be displayed at.
|
| |
| int | get_intrinsic_height () const |
| | Gets the preferred height the paintable would like to be displayed at.
|
| |
| double | get_intrinsic_aspect_ratio () const |
| | Gets the preferred aspect ratio the paintable would like to be displayed at.
|
| |
| 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.
|
| |
| void | invalidate_contents () |
| | Called by implementations of Gdk::Paintable to invalidate their contents.
|
| |
| void | invalidate_size () |
| | Called by implementations of Gdk::Paintable to invalidate their size.
|
| |
| Glib::SignalProxy< void()> | signal_invalidate_contents () |
| |
| Glib::SignalProxy< void()> | signal_invalidate_size () |
| |
|
| static GType | get_type () |
| | Get the GType for this class, for use with the underlying GObject type system.
|
| |
| static Glib::RefPtr< Texture > | create (int width, int height, Format format, const Glib::RefPtr< const Glib::Bytes > & bytes, gsize stride) |
| | Creates a new texture for a blob of image data.
|
| |
| static GType | get_type () |
| | Get the GType for this class, for use with the underlying GObject type system.
|
| |
| static Glib::RefPtr< Texture > | create_for_pixbuf (const Glib::RefPtr< Pixbuf > & pixbuf) |
| | Creates a new texture object representing the Gdk::Pixbuf.
|
| |
| static Glib::RefPtr< Texture > | create_from_resource (const std::string & resource_path) |
| | Creates a new texture by loading an image from a resource.
|
| |
| static Glib::RefPtr< Texture > | create_from_file (const Glib::RefPtr< Gio::File > & file) |
| | Creates a new texture by loading an image from a file.
|
| |
| static Glib::RefPtr< Texture > | create_from_filename (const std::string & path) |
| | Creates a new texture by loading an image from a file.
|
| |
| static Glib::RefPtr< Texture > | create_from_bytes (const Glib::RefPtr< const Glib::Bytes > & bytes) |
| | Creates a new texture by loading an image from memory,.
|
| |
| static void | add_interface (GType gtype_implementer) |
| |
| static GType | get_type () |
| | Get the GType for this class, for use with the underlying GObject type system.
|
| |
A Gdk::Texture representing image data in memory.
- Since gtkmm 3.98