Top | ![]() |
![]() |
![]() |
![]() |
GOPatternType | go_pattern_from_str () |
char const * | go_pattern_as_str () |
gboolean | go_pattern_is_solid () |
void | go_pattern_set_solid () |
guint8 const * | go_pattern_get_pattern () |
xmlChar * | go_pattern_get_svg_path () |
cairo_pattern_t * | go_pattern_create_cairo_pattern () |
GtkWidget * | go_pattern_selector_new () |
void | go_pattern_selector_set_colors () |
void go_pattern_set_solid (GOPattern *pat
,GOColor fore
);
Makes pat
a solid pattern with colour fore
.
xmlChar * go_pattern_get_svg_path (GOPattern const *pattern
,double *width
,double *height
);
Retrieves an SVG path as string, which represents pattern shape. Caller is responsible for freeing the resulting string.
If width != NULL, returns pattern width. If height != NULL, returns pattern height.
cairo_pattern_t * go_pattern_create_cairo_pattern (GOPattern const *pattern
,cairo_t *cr
);
GtkWidget * go_pattern_selector_new (GOPatternType initial_type
,GOPatternType default_type
);
Creates a new pattern selector.
void go_pattern_selector_set_colors (GOSelector *selector
,GOColor foreground
,GOColor background
);
Updates swatch colors of selector
.