Ardour  9.0-pre0-350-gf17a656217
gdkgc.h File Reference
#include <gdk/gdkcolor.h>
#include <gdk/gdktypes.h>
Include dependency graph for gdkgc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GdkGCValues
 
struct  _GdkGC
 
struct  _GdkGCClass
 

Macros

#define GDK_TYPE_GC   (gdk_gc_get_type ())
 
#define GDK_GC(object)   (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_GC, GdkGC))
 
#define GDK_GC_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_GC, GdkGCClass))
 
#define GDK_IS_GC(object)   (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_GC))
 
#define GDK_IS_GC_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_GC))
 
#define GDK_GC_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_GC, GdkGCClass))
 
#define gdk_gc_destroy   g_object_unref
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _GdkGCValues GdkGCValues
 
typedef struct _GdkGCClass GdkGCClass
 

Enumerations

enum  GdkCapStyle { GDK_CAP_NOT_LAST , GDK_CAP_BUTT , GDK_CAP_ROUND , GDK_CAP_PROJECTING }
 
enum  GdkFill { GDK_SOLID , GDK_TILED , GDK_STIPPLED , GDK_OPAQUE_STIPPLED }
 
enum  GdkFunction {
  GDK_COPY , GDK_INVERT , GDK_XOR , GDK_CLEAR ,
  GDK_AND , GDK_AND_REVERSE , GDK_AND_INVERT , GDK_NOOP ,
  GDK_OR , GDK_EQUIV , GDK_OR_REVERSE , GDK_COPY_INVERT ,
  GDK_OR_INVERT , GDK_NAND , GDK_NOR , GDK_SET
}
 
enum  GdkJoinStyle { GDK_JOIN_MITER , GDK_JOIN_ROUND , GDK_JOIN_BEVEL }
 
enum  GdkLineStyle { GDK_LINE_SOLID , GDK_LINE_ON_OFF_DASH , GDK_LINE_DOUBLE_DASH }
 
enum  GdkSubwindowMode { GDK_CLIP_BY_CHILDREN = 0 , GDK_INCLUDE_INFERIORS = 1 }
 
enum  GdkGCValuesMask {
  GDK_GC_FOREGROUND = 1 << 0 , GDK_GC_BACKGROUND = 1 << 1 , GDK_GC_FONT = 1 << 2 , GDK_GC_FUNCTION = 1 << 3 ,
  GDK_GC_FILL = 1 << 4 , GDK_GC_TILE = 1 << 5 , GDK_GC_STIPPLE = 1 << 6 , GDK_GC_CLIP_MASK = 1 << 7 ,
  GDK_GC_SUBWINDOW = 1 << 8 , GDK_GC_TS_X_ORIGIN = 1 << 9 , GDK_GC_TS_Y_ORIGIN = 1 << 10 , GDK_GC_CLIP_X_ORIGIN = 1 << 11 ,
  GDK_GC_CLIP_Y_ORIGIN = 1 << 12 , GDK_GC_EXPOSURES = 1 << 13 , GDK_GC_LINE_WIDTH = 1 << 14 , GDK_GC_LINE_STYLE = 1 << 15 ,
  GDK_GC_CAP_STYLE = 1 << 16 , GDK_GC_JOIN_STYLE = 1 << 17
}
 

Functions

GType gdk_gc_get_type (void) G_GNUC_CONST
 
GdkGCgdk_gc_new (GdkDrawable *drawable)
 
GdkGCgdk_gc_new_with_values (GdkDrawable *drawable, GdkGCValues *values, GdkGCValuesMask values_mask)
 
GdkGCgdk_gc_ref (GdkGC *gc)
 
void gdk_gc_unref (GdkGC *gc)
 
void gdk_gc_get_values (GdkGC *gc, GdkGCValues *values)
 
void gdk_gc_set_values (GdkGC *gc, GdkGCValues *values, GdkGCValuesMask values_mask)
 
void gdk_gc_set_foreground (GdkGC *gc, const GdkColor *color)
 
void gdk_gc_set_background (GdkGC *gc, const GdkColor *color)
 
void gdk_gc_set_font (GdkGC *gc, GdkFont *font)
 
void gdk_gc_set_function (GdkGC *gc, GdkFunction function)
 
void gdk_gc_set_fill (GdkGC *gc, GdkFill fill)
 
void gdk_gc_set_tile (GdkGC *gc, GdkPixmap *tile)
 
void gdk_gc_set_stipple (GdkGC *gc, GdkPixmap *stipple)
 
void gdk_gc_set_ts_origin (GdkGC *gc, gint x, gint y)
 
void gdk_gc_set_clip_origin (GdkGC *gc, gint x, gint y)
 
void gdk_gc_set_clip_mask (GdkGC *gc, GdkBitmap *mask)
 
void gdk_gc_set_clip_rectangle (GdkGC *gc, const GdkRectangle *rectangle)
 
void gdk_gc_set_clip_region (GdkGC *gc, const GdkRegion *region)
 
void gdk_gc_set_subwindow (GdkGC *gc, GdkSubwindowMode mode)
 
void gdk_gc_set_exposures (GdkGC *gc, gboolean exposures)
 
void gdk_gc_set_line_attributes (GdkGC *gc, gint line_width, GdkLineStyle line_style, GdkCapStyle cap_style, GdkJoinStyle join_style)
 
void gdk_gc_set_dashes (GdkGC *gc, gint dash_offset, gint8 dash_list[], gint n)
 
void gdk_gc_offset (GdkGC *gc, gint x_offset, gint y_offset)
 
void gdk_gc_copy (GdkGC *dst_gc, GdkGC *src_gc)
 
void gdk_gc_set_colormap (GdkGC *gc, GdkColormap *colormap)
 
GdkColormapgdk_gc_get_colormap (GdkGC *gc)
 
void gdk_gc_set_rgb_fg_color (GdkGC *gc, const GdkColor *color)
 
void gdk_gc_set_rgb_bg_color (GdkGC *gc, const GdkColor *color)
 
GdkScreengdk_gc_get_screen (GdkGC *gc)
 

Macro Definition Documentation

◆ GDK_GC

#define GDK_GC (   object)    (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_GC, GdkGC))

Definition at line 183 of file gdkgc.h.

◆ GDK_GC_CLASS

#define GDK_GC_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_GC, GdkGCClass))

Definition at line 184 of file gdkgc.h.

◆ gdk_gc_destroy

#define gdk_gc_destroy   g_object_unref

Definition at line 293 of file gdkgc.h.

◆ GDK_GC_GET_CLASS

#define GDK_GC_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_GC, GdkGCClass))

Definition at line 187 of file gdkgc.h.

◆ GDK_IS_GC

#define GDK_IS_GC (   object)    (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_GC))

Definition at line 185 of file gdkgc.h.

◆ GDK_IS_GC_CLASS

#define GDK_IS_GC_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_GC))

Definition at line 186 of file gdkgc.h.

◆ GDK_TYPE_GC

#define GDK_TYPE_GC   (gdk_gc_get_type ())

Definition at line 182 of file gdkgc.h.

Typedef Documentation

◆ GdkGCClass

typedef struct _GdkGCClass GdkGCClass

Definition at line 37 of file gdkgc.h.

◆ GdkGCValues

typedef typedefG_BEGIN_DECLS struct _GdkGCValues GdkGCValues

Definition at line 37 of file gdkgc.h.

Enumeration Type Documentation

◆ GdkCapStyle

Enumerator
GDK_CAP_NOT_LAST 
GDK_CAP_BUTT 
GDK_CAP_ROUND 
GDK_CAP_PROJECTING 

Definition at line 48 of file gdkgc.h.

◆ GdkFill

enum GdkFill
Enumerator
GDK_SOLID 
GDK_TILED 
GDK_STIPPLED 
GDK_OPAQUE_STIPPLED 

Definition at line 62 of file gdkgc.h.

◆ GdkFunction

Enumerator
GDK_COPY 
GDK_INVERT 
GDK_XOR 
GDK_CLEAR 
GDK_AND 
GDK_AND_REVERSE 
GDK_AND_INVERT 
GDK_NOOP 
GDK_OR 
GDK_EQUIV 
GDK_OR_REVERSE 
GDK_COPY_INVERT 
GDK_OR_INVERT 
GDK_NAND 
GDK_NOR 
GDK_SET 

Definition at line 88 of file gdkgc.h.

◆ GdkGCValuesMask

Enumerator
GDK_GC_FOREGROUND 
GDK_GC_BACKGROUND 
GDK_GC_FONT 
GDK_GC_FUNCTION 
GDK_GC_FILL 
GDK_GC_TILE 
GDK_GC_STIPPLE 
GDK_GC_CLIP_MASK 
GDK_GC_SUBWINDOW 
GDK_GC_TS_X_ORIGIN 
GDK_GC_TS_Y_ORIGIN 
GDK_GC_CLIP_X_ORIGIN 
GDK_GC_CLIP_Y_ORIGIN 
GDK_GC_EXPOSURES 
GDK_GC_LINE_WIDTH 
GDK_GC_LINE_STYLE 
GDK_GC_CAP_STYLE 
GDK_GC_JOIN_STYLE 

Definition at line 138 of file gdkgc.h.

◆ GdkJoinStyle

Enumerator
GDK_JOIN_MITER 
GDK_JOIN_ROUND 
GDK_JOIN_BEVEL 

Definition at line 113 of file gdkgc.h.

◆ GdkLineStyle

Enumerator
GDK_LINE_SOLID 
GDK_LINE_ON_OFF_DASH 
GDK_LINE_DOUBLE_DASH 

Definition at line 125 of file gdkgc.h.

◆ GdkSubwindowMode

Enumerator
GDK_CLIP_BY_CHILDREN 
GDK_INCLUDE_INFERIORS 

Definition at line 132 of file gdkgc.h.

Function Documentation

◆ gdk_gc_copy()

void gdk_gc_copy ( GdkGC dst_gc,
GdkGC src_gc 
)

◆ gdk_gc_get_colormap()

GdkColormap* gdk_gc_get_colormap ( GdkGC gc)

◆ gdk_gc_get_screen()

GdkScreen* gdk_gc_get_screen ( GdkGC gc)

◆ gdk_gc_get_type()

GType gdk_gc_get_type ( void  )

◆ gdk_gc_get_values()

void gdk_gc_get_values ( GdkGC gc,
GdkGCValues values 
)

◆ gdk_gc_new()

GdkGC* gdk_gc_new ( GdkDrawable drawable)

◆ gdk_gc_new_with_values()

GdkGC* gdk_gc_new_with_values ( GdkDrawable drawable,
GdkGCValues values,
GdkGCValuesMask  values_mask 
)

◆ gdk_gc_offset()

void gdk_gc_offset ( GdkGC gc,
gint  x_offset,
gint  y_offset 
)

◆ gdk_gc_ref()

GdkGC* gdk_gc_ref ( GdkGC gc)

◆ gdk_gc_set_background()

void gdk_gc_set_background ( GdkGC gc,
const GdkColor color 
)

◆ gdk_gc_set_clip_mask()

void gdk_gc_set_clip_mask ( GdkGC gc,
GdkBitmap mask 
)

◆ gdk_gc_set_clip_origin()

void gdk_gc_set_clip_origin ( GdkGC gc,
gint  x,
gint  y 
)

◆ gdk_gc_set_clip_rectangle()

void gdk_gc_set_clip_rectangle ( GdkGC gc,
const GdkRectangle rectangle 
)

◆ gdk_gc_set_clip_region()

void gdk_gc_set_clip_region ( GdkGC gc,
const GdkRegion region 
)

◆ gdk_gc_set_colormap()

void gdk_gc_set_colormap ( GdkGC gc,
GdkColormap colormap 
)

◆ gdk_gc_set_dashes()

void gdk_gc_set_dashes ( GdkGC gc,
gint  dash_offset,
gint8  dash_list[],
gint  n 
)

◆ gdk_gc_set_exposures()

void gdk_gc_set_exposures ( GdkGC gc,
gboolean  exposures 
)

◆ gdk_gc_set_fill()

void gdk_gc_set_fill ( GdkGC gc,
GdkFill  fill 
)

◆ gdk_gc_set_font()

void gdk_gc_set_font ( GdkGC gc,
GdkFont font 
)

◆ gdk_gc_set_foreground()

void gdk_gc_set_foreground ( GdkGC gc,
const GdkColor color 
)

◆ gdk_gc_set_function()

void gdk_gc_set_function ( GdkGC gc,
GdkFunction  function 
)

◆ gdk_gc_set_line_attributes()

void gdk_gc_set_line_attributes ( GdkGC gc,
gint  line_width,
GdkLineStyle  line_style,
GdkCapStyle  cap_style,
GdkJoinStyle  join_style 
)

◆ gdk_gc_set_rgb_bg_color()

void gdk_gc_set_rgb_bg_color ( GdkGC gc,
const GdkColor color 
)

◆ gdk_gc_set_rgb_fg_color()

void gdk_gc_set_rgb_fg_color ( GdkGC gc,
const GdkColor color 
)

◆ gdk_gc_set_stipple()

void gdk_gc_set_stipple ( GdkGC gc,
GdkPixmap stipple 
)

◆ gdk_gc_set_subwindow()

void gdk_gc_set_subwindow ( GdkGC gc,
GdkSubwindowMode  mode 
)

◆ gdk_gc_set_tile()

void gdk_gc_set_tile ( GdkGC gc,
GdkPixmap tile 
)

◆ gdk_gc_set_ts_origin()

void gdk_gc_set_ts_origin ( GdkGC gc,
gint  x,
gint  y 
)

◆ gdk_gc_set_values()

void gdk_gc_set_values ( GdkGC gc,
GdkGCValues values,
GdkGCValuesMask  values_mask 
)

◆ gdk_gc_unref()

void gdk_gc_unref ( GdkGC gc)