Top | ![]() |
![]() |
![]() |
![]() |
#define | GO_MARKER() |
#define | GO_IS_MARKER() |
GOMarker * | go_marker_new () |
GOMarker * | go_marker_dup () |
void | go_marker_assign () |
GType | go_marker_get_type () |
GOMarkerShape | go_marker_shape_from_str () |
char const * | go_marker_shape_as_str () |
GOMarkerShape | go_marker_get_shape () |
void | go_marker_set_shape () |
GOColor | go_marker_get_outline_color () |
void | go_marker_set_outline_color () |
GOColor | go_marker_get_fill_color () |
void | go_marker_set_fill_color () |
int | go_marker_get_size () |
void | go_marker_set_size () |
double | go_marker_get_outline_width () |
cairo_surface_t * | go_marker_create_cairo_surface () |
void | go_marker_render () |
GtkWidget * | go_marker_selector_new () |
void | go_marker_selector_set_colors () |
void | go_marker_selector_set_shape () |
cairo_surface_t * go_marker_create_cairo_surface (GOMarker const *marker
,cairo_t *cr
,double scale
,double *width
,double *height
);
Creates a new cairo surface similar to the current target of cr
, and render
marker
on it. center
will contain the coordinate of the center of the surface.
marker |
a GOMarker |
|
cr |
a cairo context |
|
scale |
current context scale |
|
width |
a placeholder for the surface width |
|
height |
a placeholder for the surface height |
a newly created cairo_surface_t. This surface should be destroyed using cairo_surface_destroy after use.
void go_marker_render (GOMarker const *marker
,cairo_t *cr
,double x
,double y
,double scale
);
Renders marker
onto the cairo
target, using x
and y
for the position.
GtkWidget * go_marker_selector_new (GOMarkerShape initial_shape
,GOMarkerShape default_shape
);
Creates a new marker selector.
void go_marker_selector_set_colors (GOSelector *selector
,GOColor outline
,GOColor fill
);
Updates swatch colors of selector
.
void go_marker_selector_set_shape (GOSelector *selector
,GOMarkerShape shape
);
Updates marker shape of selector
.