Top | ![]() |
![]() |
![]() |
![]() |
Functions
void | go_marker_assign () |
cairo_surface_t * | go_marker_create_cairo_surface () |
GOMarker * | go_marker_dup () |
GOColor | go_marker_get_fill_color () |
GOColor | go_marker_get_outline_color () |
double | go_marker_get_outline_width () |
GOMarkerShape | go_marker_get_shape () |
int | go_marker_get_size () |
GOMarker * | go_marker_new () |
void | go_marker_render () |
void | go_marker_set_fill_color () |
void | go_marker_set_outline_color () |
void | go_marker_set_shape () |
void | go_marker_set_size () |
char const * | go_marker_shape_as_str () |
GOMarkerShape | go_marker_shape_from_str () |
Functions
go_marker_create_cairo_surface ()
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.
Parameters
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 |
go_marker_render ()
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.