Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | gwy_graph_label_new () |
void | gwy_graph_label_set_model () |
GwyGraphModel * | gwy_graph_label_get_model () |
void | gwy_graph_label_enable_user_input () |
void | gwy_graph_label_draw_on_drawable () |
GString * | gwy_graph_label_export_vector () |
void gwy_graph_label_set_model (GwyGraphLabel *label
,GwyGraphModel *gmodel
);
Sets new model of a graph label.
GwyGraphModel *
gwy_graph_label_get_model (GwyGraphLabel *label
);
Gets the model of a graph key.
void gwy_graph_label_enable_user_input (GwyGraphLabel *label
,gboolean enable
);
Enables or disables user input to a graph label.
void gwy_graph_label_draw_on_drawable (GwyGraphLabel *label
,GdkDrawable *drawable
,GdkGC *gc
,PangoLayout *layout
,gint x
,gint y
,gint width
,gint height
);
draws a graph label on a drawable
label |
graph label |
|
drawable |
the GdkDrawable |
|
gc |
Graphics context. It is modified by this function unpredictably. |
|
layout |
pango layout |
|
x |
x position where label is to be drawn |
|
y |
y position where label is to be drawn |
|
width |
width of the label |
|
height |
hieght of the label |
GString * gwy_graph_label_export_vector (GwyGraphLabel *label
,gint x
,gint y
,gint width
,gint height
,gint fontsize
);
Creates PostScript representation of a graph label.