| Top |
| GwyVectorLayer * | gwy_layer_point_new () |
| gboolean | gwy_layer_point_get_draw_marker () |
| void | gwy_layer_point_set_draw_marker () |
| gboolean | gwy_layer_point_get_draw_as_vector () |
| void | gwy_layer_point_set_draw_as_vector () |
| gboolean | gwy_layer_point_get_numbered () |
| void | gwy_layer_point_set_numbered () |
| gdouble | gwy_layer_point_get_marker_radius () |
| void | gwy_layer_point_set_marker_radius () |
| gboolean | draw-as-vector | Read / Write |
| gboolean | draw-marker | Read / Write |
| double | marker-radius | Read / Write |
| gboolean | numbered | Read / Write |
GObject
╰── GInitiallyUnowned
╰── GwyDataViewLayer
╰── GwyVectorLayer
╰── GwyLayerPoint
GwyLayerPoint allows selection of individual points. It uses GwySelectionPoint selection type.
GwyVectorLayer *
gwy_layer_point_new (void);
Creates a new point vector layer.
gboolean
gwy_layer_point_get_draw_marker (GwyLayerPoint *layer);
Reports whether a point vector layer is drawn with visible markers.
void gwy_layer_point_set_draw_marker (GwyLayerPoint *layer,gboolean draw_marker);
Sets whether a point vector layer is drawn with visible markers.
The marker size can be set using gwy_layer_point_set_marker_radius().
gboolean
gwy_layer_point_get_draw_as_vector (GwyLayerPoint *layer);
Reports whether a point vector layer is drawn as vectors from image centre.
draw_as_vector
: TRUE if points are drawn as vectors from the image centre; FALSE for normal points.
void gwy_layer_point_set_draw_as_vector (GwyLayerPoint *layer,gboolean draw_as_vector);
Sets whether a point vector layer is drawn as vectors from image centre.
gboolean
gwy_layer_point_get_numbered (GwyLayerPoint *layer);
Reports whether a point vector layer has visibly numbered points.
void gwy_layer_point_set_numbered (GwyLayerPoint *layer,gboolean numbered);
Sets whether a point vector layer has visibly numbered points.
gdouble
gwy_layer_point_get_marker_radius (GwyLayerPoint *layer);
Gets the marker radius of a point vector layer.
void gwy_layer_point_set_marker_radius (GwyLayerPoint *layer,gdouble marker_radius);
Sets the radius of the marker around points of a point vector layer.
The marker also needs to be enabled using gwy_layer_point_set_draw_marker() to be visible.
“draw-as-vector” property “draw-as-vector” gboolean
Whether to draw makers as lines from the origin.
Owner: GwyLayerPoint
Flags: Read / Write
Default value: FALSE
“draw-marker” property “draw-marker” gboolean
Whether to draw point markers.
Owner: GwyLayerPoint
Flags: Read / Write
Default value: TRUE
“marker-radius” property “marker-radius” double
Radius of marker if it is drawn.
Owner: GwyLayerPoint
Flags: Read / Write
Allowed values: [0,1024]
Default value: 0