Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GwyDataViewLayer ╰── GwyVectorLayer ╰── GwyLayerCross
GwyLayerCross allows selection of lines oriented along either of the cardinal axes or both. It uses GwySelectionPoint selection type.
GwyVectorLayer *
gwy_layer_cross_new (void
);
Creates a new cross vector layer.
GwyDirectionFlags
gwy_layer_cross_get_directions (GwyLayerCross *layer
);
Reports the directions of a cross vector layer.
See gwy_layer_cross_get_directions()
for how the directions are interpreted.
void gwy_layer_cross_set_directions (GwyLayerCross *layer
,GwyDirectionFlags directions
);
Sets the directions of a cross vector layer.
Note that lines are drawn along directions perpendicular to directions
. For instance, if directions
is
GWY_DIRECTION_HORIZONTAL
(the default), it means selection of positions along the x
-axis, which are indicated by
vertical lines in the image. This is consistent with other orientable selections
gdouble
gwy_layer_cross_get_thickness (GwyLayerCross *layer
);
Gets the size of markers denoting line thickness.
void gwy_layer_cross_set_thickness (GwyLayerCross *layer
,gdouble thickness
);
Sets the size of markers denoting line thickness.
“directions”
property“directions” GwyDirectionFlags
Along which axes the selection is considered to be oriented, i.e. perpendicular to which axes the lines are drawn.
Owner: GwyLayerCross
Flags: Read / Write
Default value: GWY_DIRECTION_HORIZONTAL