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

Go to the source code of this file.

Typedefs

typedef void(* GdkSpanFunc) (GdkSpan *span, gpointer data)
 

Enumerations

enum  GdkFillRule { GDK_EVEN_ODD_RULE , GDK_WINDING_RULE }
 
enum  GdkOverlapType { GDK_OVERLAP_RECTANGLE_IN , GDK_OVERLAP_RECTANGLE_OUT , GDK_OVERLAP_RECTANGLE_PART }
 

Functions

GdkRegiongdk_region_new (void)
 
GdkRegiongdk_region_polygon (const GdkPoint *points, gint n_points, GdkFillRule fill_rule)
 
GdkRegiongdk_region_copy (const GdkRegion *region)
 
GdkRegiongdk_region_rectangle (const GdkRectangle *rectangle)
 
void gdk_region_destroy (GdkRegion *region)
 
void gdk_region_get_clipbox (const GdkRegion *region, GdkRectangle *rectangle)
 
void gdk_region_get_rectangles (const GdkRegion *region, GdkRectangle **rectangles, gint *n_rectangles)
 
gboolean gdk_region_empty (const GdkRegion *region)
 
gboolean gdk_region_equal (const GdkRegion *region1, const GdkRegion *region2)
 
gboolean gdk_region_rect_equal (const GdkRegion *region, const GdkRectangle *rectangle)
 
gboolean gdk_region_point_in (const GdkRegion *region, int x, int y)
 
GdkOverlapType gdk_region_rect_in (const GdkRegion *region, const GdkRectangle *rectangle)
 
void gdk_region_offset (GdkRegion *region, gint dx, gint dy)
 
void gdk_region_shrink (GdkRegion *region, gint dx, gint dy)
 
void gdk_region_union_with_rect (GdkRegion *region, const GdkRectangle *rect)
 
void gdk_region_intersect (GdkRegion *source1, const GdkRegion *source2)
 
void gdk_region_union (GdkRegion *source1, const GdkRegion *source2)
 
void gdk_region_subtract (GdkRegion *source1, const GdkRegion *source2)
 
void gdk_region_xor (GdkRegion *source1, const GdkRegion *source2)
 
void gdk_region_spans_intersect_foreach (GdkRegion *region, const GdkSpan *spans, int n_spans, gboolean sorted, GdkSpanFunc function, gpointer data)
 

Typedef Documentation

◆ GdkSpanFunc

typedef void(* GdkSpanFunc) (GdkSpan *span, gpointer data)

Definition at line 63 of file gdkregion.h.

Enumeration Type Documentation

◆ GdkFillRule

Enumerator
GDK_EVEN_ODD_RULE 
GDK_WINDING_RULE 

Definition at line 43 of file gdkregion.h.

◆ GdkOverlapType

Enumerator
GDK_OVERLAP_RECTANGLE_IN 
GDK_OVERLAP_RECTANGLE_OUT 
GDK_OVERLAP_RECTANGLE_PART 

Definition at line 55 of file gdkregion.h.

Function Documentation

◆ gdk_region_copy()

GdkRegion* gdk_region_copy ( const GdkRegion region)

◆ gdk_region_destroy()

void gdk_region_destroy ( GdkRegion region)

◆ gdk_region_empty()

gboolean gdk_region_empty ( const GdkRegion region)

◆ gdk_region_equal()

gboolean gdk_region_equal ( const GdkRegion region1,
const GdkRegion region2 
)

◆ gdk_region_get_clipbox()

void gdk_region_get_clipbox ( const GdkRegion region,
GdkRectangle rectangle 
)

◆ gdk_region_get_rectangles()

void gdk_region_get_rectangles ( const GdkRegion region,
GdkRectangle **  rectangles,
gint *  n_rectangles 
)

◆ gdk_region_intersect()

void gdk_region_intersect ( GdkRegion source1,
const GdkRegion source2 
)

◆ gdk_region_new()

GdkRegion* gdk_region_new ( void  )

◆ gdk_region_offset()

void gdk_region_offset ( GdkRegion region,
gint  dx,
gint  dy 
)

◆ gdk_region_point_in()

gboolean gdk_region_point_in ( const GdkRegion region,
int  x,
int  y 
)

◆ gdk_region_polygon()

GdkRegion* gdk_region_polygon ( const GdkPoint points,
gint  n_points,
GdkFillRule  fill_rule 
)

◆ gdk_region_rect_equal()

gboolean gdk_region_rect_equal ( const GdkRegion region,
const GdkRectangle rectangle 
)

◆ gdk_region_rect_in()

GdkOverlapType gdk_region_rect_in ( const GdkRegion region,
const GdkRectangle rectangle 
)

◆ gdk_region_rectangle()

GdkRegion* gdk_region_rectangle ( const GdkRectangle rectangle)

◆ gdk_region_shrink()

void gdk_region_shrink ( GdkRegion region,
gint  dx,
gint  dy 
)

◆ gdk_region_spans_intersect_foreach()

void gdk_region_spans_intersect_foreach ( GdkRegion region,
const GdkSpan spans,
int  n_spans,
gboolean  sorted,
GdkSpanFunc  function,
gpointer  data 
)

◆ gdk_region_subtract()

void gdk_region_subtract ( GdkRegion source1,
const GdkRegion source2 
)

◆ gdk_region_union()

void gdk_region_union ( GdkRegion source1,
const GdkRegion source2 
)

◆ gdk_region_union_with_rect()

void gdk_region_union_with_rect ( GdkRegion region,
const GdkRectangle rect 
)

◆ gdk_region_xor()

void gdk_region_xor ( GdkRegion source1,
const GdkRegion source2 
)