awn-cairo-utils

awn-cairo-utils

Synopsis




enum                AwnCairoRoundCorners;
void                awn_cairo_rounded_rect              (cairo_t *cr,
                                                         int x0,
                                                         int y0,
                                                         int width,
                                                         int height,
                                                         double radius,
                                                         AwnCairoRoundCorners state);
void                awn_cairo_string_to_color           (const gchar *string,
                                                         AwnColor *color);

Description

Details

enum AwnCairoRoundCorners

typedef enum
{
	ROUND_NONE		= 0,
	ROUND_TOP_LEFT		= 1,
	ROUND_TOP_RIGHT		= 2,
	ROUND_BOTTOM_RIGHT	= 4,
	ROUND_BOTTOM_LEFT	= 8,
	ROUND_TOP		= ROUND_TOP_LEFT | ROUND_TOP_RIGHT,
	ROUND_BOTTOM		= ROUND_BOTTOM_LEFT | ROUND_BOTTOM_RIGHT,
	ROUND_LEFT		= ROUND_TOP_LEFT | ROUND_BOTTOM_LEFT,
	ROUND_RIGHT		= ROUND_TOP_RIGHT | ROUND_BOTTOM_RIGHT,
	ROUND_ALL		= ROUND_LEFT | ROUND_RIGHT
} AwnCairoRoundCorners;


awn_cairo_rounded_rect ()

void                awn_cairo_rounded_rect              (cairo_t *cr,
                                                         int x0,
                                                         int y0,
                                                         int width,
                                                         int height,
                                                         double radius,
                                                         AwnCairoRoundCorners state);

cr :
x0 :
y0 :
width :
height :
radius :
state :

awn_cairo_string_to_color ()

void                awn_cairo_string_to_color           (const gchar *string,
                                                         AwnColor *color);

string :
color :