Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkpaintable.h File Reference
#include <gdk/gdktypes.h>

Go to the source code of this file.

Data Structures

struct  _GdkPaintableInterface
 

Macros

#define GDK_TYPE_PAINTABLE   (gdk_paintable_get_type ())
 

Enumerations

enum  GdkPaintableFlags { GDK_PAINTABLE_STATIC_SIZE = 1 << 0 , GDK_PAINTABLE_STATIC_CONTENTS = 1 << 1 }
 

Functions

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)
 

Macro Definition Documentation

◆ GDK_TYPE_PAINTABLE

#define GDK_TYPE_PAINTABLE   (gdk_paintable_get_type ())

Definition at line 30 of file gdkpaintable.h.

Enumeration Type Documentation

◆ 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 {
GdkPaintableFlags
@ GDK_PAINTABLE_STATIC_CONTENTS
@ GDK_PAINTABLE_STATIC_SIZE

Function Documentation

◆ 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_AVAILABLE_IN_ALL GdkPaintable * gdk_paintable_get_current_image ( GdkPaintable * paintable)

◆ gdk_paintable_get_flags()

GDK_AVAILABLE_IN_ALL GdkPaintableFlags gdk_paintable_get_flags ( GdkPaintable * paintable)

◆ gdk_paintable_get_intrinsic_aspect_ratio()

GDK_AVAILABLE_IN_ALL double gdk_paintable_get_intrinsic_aspect_ratio ( GdkPaintable * paintable)

◆ gdk_paintable_get_intrinsic_height()

GDK_AVAILABLE_IN_ALL int gdk_paintable_get_intrinsic_height ( GdkPaintable * paintable)

◆ gdk_paintable_get_intrinsic_width()

GDK_AVAILABLE_IN_ALL int gdk_paintable_get_intrinsic_width ( GdkPaintable * paintable)

◆ gdk_paintable_invalidate_contents()

GDK_AVAILABLE_IN_ALL void gdk_paintable_invalidate_contents ( GdkPaintable * paintable)

◆ gdk_paintable_invalidate_size()

GDK_AVAILABLE_IN_ALL void gdk_paintable_invalidate_size ( GdkPaintable * paintable)

◆ gdk_paintable_new_empty()

GDK_AVAILABLE_IN_ALL GdkPaintable * gdk_paintable_new_empty ( int intrinsic_width,
int intrinsic_height )

◆ gdk_paintable_snapshot()

GDK_AVAILABLE_IN_ALL void gdk_paintable_snapshot ( GdkPaintable * paintable,
GdkSnapshot * snapshot,
double width,
double height )