| Top |
| char const * | go_pattern_as_str () |
| cairo_pattern_t * | go_pattern_create_cairo_pattern () |
| GOPatternType | go_pattern_from_str () |
| guint8 const * | go_pattern_get_pattern () |
| xmlChar * | go_pattern_get_svg_path () |
| gboolean | go_pattern_is_solid () |
| void | go_pattern_set_solid () |
cairo_pattern_t * go_pattern_create_cairo_pattern (GOPattern const *pattern,cairo_t *cr);
guint8 const *
go_pattern_get_pattern (GOPattern const *pat);
go_pattern_get_pattern is deprecated and should not be used in newly-written code.
xmlChar * go_pattern_get_svg_path (GOPattern const *pattern,double *width,double *height);
go_pattern_get_svg_path is deprecated and should not be used in newly-written code.
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.
[skip]
typedef struct {
GOColor fore, back;
unsigned pattern;
} GOPattern;
GOPattern::pattern is the used GOPatternType.
|
solid using background color. |
||
|
75% background color. |
||
|
50% background color. |
||
|
25% background color. |
||
|
12.5% background color. |
||
|
6.25% background color. |
||
|
horizontal stripe. |
||
|
vertical stripe. |
||
|
reverse diagonal stripe. |
||
|
diagonal stripe. |
||
|
diagonal crosshatch. |
||
|
thick diagonal crosshatch. |
||
|
thin horizontal stripe. |
||
|
thin vertical stripe. |
||
|
thin reverse diagonal stripe. |
||
|
thin diagonal stripe. |
||
|
thin horizontal crosshatch. |
||
|
thin diagonal crosshatch. |
||
|
solid using foreground color. |
||
|
small circles. |
||
|
semi circles. |
||
|
thatch. |
||
|
large circles. |
||
|
bricks. |
||
|
maximum value, should not occur. |