Ardour  9.0-pre0-582-g084a23a80d
gdkdrawable.h File Reference
#include <gdk/gdktypes.h>
#include <gdk/gdkgc.h>
#include <gdk/gdkrgb.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <cairo.h>
Include dependency graph for gdkdrawable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GdkDrawable
 
struct  _GdkDrawableClass
 
struct  _GdkTrapezoid
 

Macros

#define GDK_TYPE_DRAWABLE   (gdk_drawable_get_type ())
 
#define GDK_DRAWABLE(object)   (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DRAWABLE, GdkDrawable))
 
#define GDK_DRAWABLE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DRAWABLE, GdkDrawableClass))
 
#define GDK_IS_DRAWABLE(object)   (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DRAWABLE))
 
#define GDK_IS_DRAWABLE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DRAWABLE))
 
#define GDK_DRAWABLE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DRAWABLE, GdkDrawableClass))
 
#define gdk_draw_pixmap   gdk_draw_drawable
 
#define gdk_draw_bitmap   gdk_draw_drawable
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _GdkDrawableClass GdkDrawableClass
 
typedef struct _GdkTrapezoid GdkTrapezoid
 

Functions

GType gdk_drawable_get_type (void) G_GNUC_CONST
 
void gdk_drawable_set_data (GdkDrawable *drawable, const gchar *key, gpointer data, GDestroyNotify destroy_func)
 
gpointer gdk_drawable_get_data (GdkDrawable *drawable, const gchar *key)
 
void gdk_drawable_set_colormap (GdkDrawable *drawable, GdkColormap *colormap)
 
GdkColormapgdk_drawable_get_colormap (GdkDrawable *drawable)
 
gint gdk_drawable_get_depth (GdkDrawable *drawable)
 
void gdk_drawable_get_size (GdkDrawable *drawable, gint *width, gint *height)
 
GdkVisualgdk_drawable_get_visual (GdkDrawable *drawable)
 
GdkScreengdk_drawable_get_screen (GdkDrawable *drawable)
 
GdkDisplaygdk_drawable_get_display (GdkDrawable *drawable)
 
GdkDrawablegdk_drawable_ref (GdkDrawable *drawable)
 
void gdk_drawable_unref (GdkDrawable *drawable)
 
void gdk_draw_point (GdkDrawable *drawable, GdkGC *gc, gint x, gint y)
 
void gdk_draw_line (GdkDrawable *drawable, GdkGC *gc, gint x1_, gint y1_, gint x2_, gint y2_)
 
void gdk_draw_rectangle (GdkDrawable *drawable, GdkGC *gc, gboolean filled, gint x, gint y, gint width, gint height)
 
void gdk_draw_arc (GdkDrawable *drawable, GdkGC *gc, gboolean filled, gint x, gint y, gint width, gint height, gint angle1, gint angle2)
 
void gdk_draw_polygon (GdkDrawable *drawable, GdkGC *gc, gboolean filled, const GdkPoint *points, gint n_points)
 
void gdk_draw_string (GdkDrawable *drawable, GdkFont *font, GdkGC *gc, gint x, gint y, const gchar *string)
 
void gdk_draw_text (GdkDrawable *drawable, GdkFont *font, GdkGC *gc, gint x, gint y, const gchar *text, gint text_length)
 
void gdk_draw_text_wc (GdkDrawable *drawable, GdkFont *font, GdkGC *gc, gint x, gint y, const GdkWChar *text, gint text_length)
 
void gdk_draw_drawable (GdkDrawable *drawable, GdkGC *gc, GdkDrawable *src, gint xsrc, gint ysrc, gint xdest, gint ydest, gint width, gint height)
 
void gdk_draw_image (GdkDrawable *drawable, GdkGC *gc, GdkImage *image, gint xsrc, gint ysrc, gint xdest, gint ydest, gint width, gint height)
 
void gdk_draw_points (GdkDrawable *drawable, GdkGC *gc, const GdkPoint *points, gint n_points)
 
void gdk_draw_segments (GdkDrawable *drawable, GdkGC *gc, const GdkSegment *segs, gint n_segs)
 
void gdk_draw_lines (GdkDrawable *drawable, GdkGC *gc, const GdkPoint *points, gint n_points)
 
void gdk_draw_pixbuf (GdkDrawable *drawable, GdkGC *gc, const GdkPixbuf *pixbuf, gint src_x, gint src_y, gint dest_x, gint dest_y, gint width, gint height, GdkRgbDither dither, gint x_dither, gint y_dither)
 
void gdk_draw_glyphs (GdkDrawable *drawable, GdkGC *gc, PangoFont *font, gint x, gint y, PangoGlyphString *glyphs)
 
void gdk_draw_layout_line (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, PangoLayoutLine *line)
 
void gdk_draw_layout (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, PangoLayout *layout)
 
void gdk_draw_layout_line_with_colors (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, PangoLayoutLine *line, const GdkColor *foreground, const GdkColor *background)
 
void gdk_draw_layout_with_colors (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, PangoLayout *layout, const GdkColor *foreground, const GdkColor *background)
 
void gdk_draw_glyphs_transformed (GdkDrawable *drawable, GdkGC *gc, const PangoMatrix *matrix, PangoFont *font, gint x, gint y, PangoGlyphString *glyphs)
 
void gdk_draw_trapezoids (GdkDrawable *drawable, GdkGC *gc, const GdkTrapezoid *trapezoids, gint n_trapezoids)
 
GdkImagegdk_drawable_get_image (GdkDrawable *drawable, gint x, gint y, gint width, gint height)
 
GdkImagegdk_drawable_copy_to_image (GdkDrawable *drawable, GdkImage *image, gint src_x, gint src_y, gint dest_x, gint dest_y, gint width, gint height)
 
GdkRegiongdk_drawable_get_clip_region (GdkDrawable *drawable)
 
GdkRegiongdk_drawable_get_visible_region (GdkDrawable *drawable)
 

Macro Definition Documentation

◆ gdk_draw_bitmap

#define gdk_draw_bitmap   gdk_draw_drawable

Definition at line 414 of file gdkdrawable.h.

◆ gdk_draw_pixmap

#define gdk_draw_pixmap   gdk_draw_drawable

Definition at line 413 of file gdkdrawable.h.

◆ GDK_DRAWABLE

#define GDK_DRAWABLE (   object)    (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DRAWABLE, GdkDrawable))

Definition at line 47 of file gdkdrawable.h.

◆ GDK_DRAWABLE_CLASS

#define GDK_DRAWABLE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DRAWABLE, GdkDrawableClass))

Definition at line 48 of file gdkdrawable.h.

◆ GDK_DRAWABLE_GET_CLASS

#define GDK_DRAWABLE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DRAWABLE, GdkDrawableClass))

Definition at line 51 of file gdkdrawable.h.

◆ GDK_IS_DRAWABLE

#define GDK_IS_DRAWABLE (   object)    (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DRAWABLE))

Definition at line 49 of file gdkdrawable.h.

◆ GDK_IS_DRAWABLE_CLASS

#define GDK_IS_DRAWABLE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DRAWABLE))

Definition at line 50 of file gdkdrawable.h.

◆ GDK_TYPE_DRAWABLE

#define GDK_TYPE_DRAWABLE   (gdk_drawable_get_type ())

Definition at line 46 of file gdkdrawable.h.

Typedef Documentation

◆ GdkDrawableClass

typedef typedefG_BEGIN_DECLS struct _GdkDrawableClass GdkDrawableClass

Definition at line 41 of file gdkdrawable.h.

◆ GdkTrapezoid

typedef struct _GdkTrapezoid GdkTrapezoid

Definition at line 41 of file gdkdrawable.h.

Function Documentation

◆ gdk_draw_arc()

void gdk_draw_arc ( GdkDrawable drawable,
GdkGC gc,
gboolean  filled,
gint  x,
gint  y,
gint  width,
gint  height,
gint  angle1,
gint  angle2 
)

◆ gdk_draw_drawable()

void gdk_draw_drawable ( GdkDrawable drawable,
GdkGC gc,
GdkDrawable src,
gint  xsrc,
gint  ysrc,
gint  xdest,
gint  ydest,
gint  width,
gint  height 
)

◆ gdk_draw_glyphs()

void gdk_draw_glyphs ( GdkDrawable drawable,
GdkGC gc,
PangoFont *  font,
gint  x,
gint  y,
PangoGlyphString *  glyphs 
)

◆ gdk_draw_glyphs_transformed()

void gdk_draw_glyphs_transformed ( GdkDrawable drawable,
GdkGC gc,
const PangoMatrix *  matrix,
PangoFont *  font,
gint  x,
gint  y,
PangoGlyphString *  glyphs 
)

◆ gdk_draw_image()

void gdk_draw_image ( GdkDrawable drawable,
GdkGC gc,
GdkImage image,
gint  xsrc,
gint  ysrc,
gint  xdest,
gint  ydest,
gint  width,
gint  height 
)

◆ gdk_draw_layout()

void gdk_draw_layout ( GdkDrawable drawable,
GdkGC gc,
gint  x,
gint  y,
PangoLayout *  layout 
)

◆ gdk_draw_layout_line()

void gdk_draw_layout_line ( GdkDrawable drawable,
GdkGC gc,
gint  x,
gint  y,
PangoLayoutLine *  line 
)

◆ gdk_draw_layout_line_with_colors()

void gdk_draw_layout_line_with_colors ( GdkDrawable drawable,
GdkGC gc,
gint  x,
gint  y,
PangoLayoutLine *  line,
const GdkColor foreground,
const GdkColor background 
)

◆ gdk_draw_layout_with_colors()

void gdk_draw_layout_with_colors ( GdkDrawable drawable,
GdkGC gc,
gint  x,
gint  y,
PangoLayout *  layout,
const GdkColor foreground,
const GdkColor background 
)

◆ gdk_draw_line()

void gdk_draw_line ( GdkDrawable drawable,
GdkGC gc,
gint  x1_,
gint  y1_,
gint  x2_,
gint  y2_ 
)

◆ gdk_draw_lines()

void gdk_draw_lines ( GdkDrawable drawable,
GdkGC gc,
const GdkPoint points,
gint  n_points 
)

◆ gdk_draw_pixbuf()

void gdk_draw_pixbuf ( GdkDrawable drawable,
GdkGC gc,
const GdkPixbuf *  pixbuf,
gint  src_x,
gint  src_y,
gint  dest_x,
gint  dest_y,
gint  width,
gint  height,
GdkRgbDither  dither,
gint  x_dither,
gint  y_dither 
)

◆ gdk_draw_point()

void gdk_draw_point ( GdkDrawable drawable,
GdkGC gc,
gint  x,
gint  y 
)

◆ gdk_draw_points()

void gdk_draw_points ( GdkDrawable drawable,
GdkGC gc,
const GdkPoint points,
gint  n_points 
)

◆ gdk_draw_polygon()

void gdk_draw_polygon ( GdkDrawable drawable,
GdkGC gc,
gboolean  filled,
const GdkPoint points,
gint  n_points 
)

◆ gdk_draw_rectangle()

void gdk_draw_rectangle ( GdkDrawable drawable,
GdkGC gc,
gboolean  filled,
gint  x,
gint  y,
gint  width,
gint  height 
)

◆ gdk_draw_segments()

void gdk_draw_segments ( GdkDrawable drawable,
GdkGC gc,
const GdkSegment segs,
gint  n_segs 
)

◆ gdk_draw_string()

void gdk_draw_string ( GdkDrawable drawable,
GdkFont font,
GdkGC gc,
gint  x,
gint  y,
const gchar *  string 
)

◆ gdk_draw_text()

void gdk_draw_text ( GdkDrawable drawable,
GdkFont font,
GdkGC gc,
gint  x,
gint  y,
const gchar *  text,
gint  text_length 
)

◆ gdk_draw_text_wc()

void gdk_draw_text_wc ( GdkDrawable drawable,
GdkFont font,
GdkGC gc,
gint  x,
gint  y,
const GdkWChar text,
gint  text_length 
)

◆ gdk_draw_trapezoids()

void gdk_draw_trapezoids ( GdkDrawable drawable,
GdkGC gc,
const GdkTrapezoid trapezoids,
gint  n_trapezoids 
)

◆ gdk_drawable_copy_to_image()

GdkImage* gdk_drawable_copy_to_image ( GdkDrawable drawable,
GdkImage image,
gint  src_x,
gint  src_y,
gint  dest_x,
gint  dest_y,
gint  width,
gint  height 
)

◆ gdk_drawable_get_clip_region()

GdkRegion* gdk_drawable_get_clip_region ( GdkDrawable drawable)

◆ gdk_drawable_get_colormap()

GdkColormap* gdk_drawable_get_colormap ( GdkDrawable drawable)

◆ gdk_drawable_get_data()

gpointer gdk_drawable_get_data ( GdkDrawable drawable,
const gchar *  key 
)

◆ gdk_drawable_get_depth()

gint gdk_drawable_get_depth ( GdkDrawable drawable)

◆ gdk_drawable_get_display()

GdkDisplay* gdk_drawable_get_display ( GdkDrawable drawable)

◆ gdk_drawable_get_image()

GdkImage* gdk_drawable_get_image ( GdkDrawable drawable,
gint  x,
gint  y,
gint  width,
gint  height 
)

◆ gdk_drawable_get_screen()

GdkScreen* gdk_drawable_get_screen ( GdkDrawable drawable)

◆ gdk_drawable_get_size()

void gdk_drawable_get_size ( GdkDrawable drawable,
gint *  width,
gint *  height 
)

◆ gdk_drawable_get_type()

GType gdk_drawable_get_type ( void  )

◆ gdk_drawable_get_visible_region()

GdkRegion* gdk_drawable_get_visible_region ( GdkDrawable drawable)

◆ gdk_drawable_get_visual()

GdkVisual* gdk_drawable_get_visual ( GdkDrawable drawable)

◆ gdk_drawable_ref()

GdkDrawable* gdk_drawable_ref ( GdkDrawable drawable)

◆ gdk_drawable_set_colormap()

void gdk_drawable_set_colormap ( GdkDrawable drawable,
GdkColormap colormap 
)

◆ gdk_drawable_set_data()

void gdk_drawable_set_data ( GdkDrawable drawable,
const gchar *  key,
gpointer  data,
GDestroyNotify  destroy_func 
)

◆ gdk_drawable_unref()

void gdk_drawable_unref ( GdkDrawable drawable)