Top | ![]() |
![]() |
![]() |
![]() |
GOLineDashType | go_line_dash_from_str () |
char const * | go_line_dash_as_str () |
char const * | go_line_dash_as_label () |
double | go_line_dash_get_length () |
GOLineDashSequence * | go_line_dash_get_sequence () |
void | go_line_dash_sequence_free () |
GtkWidget * | go_line_dash_selector_new () |
GOLineInterpolation | go_line_interpolation_from_str () |
char const * | go_line_interpolation_as_str () |
char const * | go_line_interpolation_as_label () |
gboolean | go_line_interpolation_supports_radial () |
gboolean | go_line_interpolation_auto_skip () |
char const *
go_line_dash_as_label (GOLineDashType type
);
a pointer to the user readable name of the dash type,
or the name of GO_LINE_NONE
if type is invalid. The returned
string should not be freed.
GOLineDashSequence * go_line_dash_get_sequence (GOLineDashType type
,double scale
);
a struct containing the dash sequence corresponding to type
,
or NULL
if type is invalid or equal to GO_LINE_NONE
.
The lengths are scaled according to scale
.
void
go_line_dash_sequence_free (GOLineDashSequence *sequence
);
Frees the dash sequence struct.
GtkWidget * go_line_dash_selector_new (GOLineDashType initial_type
,GOLineDashType default_type
);
Creates a new line type selector.
GOLineInterpolation
go_line_interpolation_from_str (char const *name
);
char const *
go_line_interpolation_as_str (GOLineInterpolation type
);
char const *
go_line_interpolation_as_label (GOLineInterpolation type
);
a pointer to the label of type
, or the name of
GO_LINE_INTERPOLATION_LINEAR
if type is invalid.
The returned string should not be freed.
gboolean
go_line_interpolation_supports_radial (GOLineInterpolation type
);
gboolean
go_line_interpolation_auto_skip (GOLineInterpolation type
);
typedef struct { double offset; unsigned int n_dash; double *dash; } GOLineDashSequence;
Linear interpolation. |
||
Bezier cubic spline interpolation. |
||
Closed Bezier cubic spline interpolation. |
||
Cubic spline interpolation with natural limits. |
||
Cubic spline interpolation with parabolic limits. |
||
Cubic spline interpolation with cubic limits. |
||
Cubic spline interpolation with fixed derivatives at both ends. |
||
Steps using first y value. |
||
Steps using last y value. |
||
Steps centered around each point. |
||
Steps using mean y value. |
||
First invalid value. |