Go to the source code of this file.
|
GDK_AVAILABLE_IN_ALL void | gdk_paintable_snapshot (GdkPaintable *paintable, GdkSnapshot *snapshot, double width, double height) |
|
GDK_AVAILABLE_IN_ALL GdkPaintable * | gdk_paintable_get_current_image (GdkPaintable *paintable) |
|
GDK_AVAILABLE_IN_ALL GdkPaintableFlags | gdk_paintable_get_flags (GdkPaintable *paintable) |
|
GDK_AVAILABLE_IN_ALL int | gdk_paintable_get_intrinsic_width (GdkPaintable *paintable) |
|
GDK_AVAILABLE_IN_ALL int | gdk_paintable_get_intrinsic_height (GdkPaintable *paintable) |
|
GDK_AVAILABLE_IN_ALL double | gdk_paintable_get_intrinsic_aspect_ratio (GdkPaintable *paintable) |
|
GDK_AVAILABLE_IN_ALL void | gdk_paintable_compute_concrete_size (GdkPaintable *paintable, double specified_width, double specified_height, double default_width, double default_height, double *concrete_width, double *concrete_height) |
|
GDK_AVAILABLE_IN_ALL void | gdk_paintable_invalidate_contents (GdkPaintable *paintable) |
|
GDK_AVAILABLE_IN_ALL void | gdk_paintable_invalidate_size (GdkPaintable *paintable) |
|
GDK_AVAILABLE_IN_ALL GdkPaintable * | gdk_paintable_new_empty (int intrinsic_width, int intrinsic_height) |
|
◆ GDK_TYPE_PAINTABLE
#define GDK_TYPE_PAINTABLE (gdk_paintable_get_type ()) |
◆ GdkPaintableFlags
GdkPaintableFlags: @GDK_PAINTABLE_STATIC_SIZE: The size is immutable. The [signa.nosp@m.l@Gd.nosp@m.k.Pai.nosp@m.ntab.nosp@m.le::invalidate-size] signal will never be emitted. @GDK_PAINTABLE_STATIC_CONTENTS: The content is immutable. The [signa.nosp@m.l@Gd.nosp@m.k.Pai.nosp@m.ntab.nosp@m.le::invalidate-contents] signal will never be emitted.
Flags about a paintable object.
Implementations use these for optimizations such as caching.
Enumerator |
---|
GDK_PAINTABLE_STATIC_SIZE | |
GDK_PAINTABLE_STATIC_CONTENTS | |
Definition at line 48 of file gdkpaintable.h.
48 {
@ GDK_PAINTABLE_STATIC_CONTENTS
@ GDK_PAINTABLE_STATIC_SIZE
◆ gdk_paintable_compute_concrete_size()
GDK_AVAILABLE_IN_ALL void gdk_paintable_compute_concrete_size |
( |
GdkPaintable * | paintable, |
|
|
double | specified_width, |
|
|
double | specified_height, |
|
|
double | default_width, |
|
|
double | default_height, |
|
|
double * | concrete_width, |
|
|
double * | concrete_height ) |
◆ gdk_paintable_get_current_image()
◆ gdk_paintable_get_flags()
◆ gdk_paintable_get_intrinsic_aspect_ratio()
◆ gdk_paintable_get_intrinsic_height()
◆ gdk_paintable_get_intrinsic_width()
◆ gdk_paintable_invalidate_contents()
◆ gdk_paintable_invalidate_size()
◆ gdk_paintable_new_empty()
GDK_AVAILABLE_IN_ALL GdkPaintable * gdk_paintable_new_empty |
( |
int | intrinsic_width, |
|
|
int | intrinsic_height ) |
◆ gdk_paintable_snapshot()