![]() |
![]() |
![]() |
Goffice Reference Manual | ![]() |
---|---|---|---|---|
enum GOLineDashType; enum GOLineInterpolation; GOLineDashType go_line_dash_from_str (char const *name); charconst * go_line_dash_as_str (GOLineDashType type); charconst * go_line_dash_as_label (GOLineDashType type); GOLineInterpolation go_line_interpolation_from_str (char const *name); charconst * go_line_interpolation_as_str (GOLineInterpolation type);
typedef enum { GO_LINE_NONE, GO_LINE_SOLID, GO_LINE_S_DOT, GO_LINE_S_DASH_DOT, GO_LINE_S_DASH_DOT_DOT, GO_LINE_DASH_DOT_DOT_DOT, GO_LINE_DOT, GO_LINE_S_DASH, GO_LINE_DASH, GO_LINE_LONG_DASH, GO_LINE_DASH_DOT, GO_LINE_DASH_DOT_DOT, GO_LINE_MAX } GOLineDashType;
typedef enum { GO_LINE_INTERPOLATION_LINEAR, GO_LINE_INTERPOLATION_SPLINE, GO_LINE_INTERPOLATION_STEP_START, GO_LINE_INTERPOLATION_STEP_END, GO_LINE_INTERPOLATION_STEP_CENTER_X, GO_LINE_INTERPOLATION_STEP_CENTER_Y, GO_LINE_INTERPOLATION_MAX } GOLineInterpolation;
GOLineDashType go_line_dash_from_str (char const *name);
|
Name of the dash type |
Returns : |
a GOLineDashType corresponding to name, or GO_LINE_NONE if not found. |
charconst * go_line_dash_as_str (GOLineDashType type);
|
a GOLineDashType |
Returns : |
a pointer to the nickname of the dash type, or "none" if type is invalid. The returning string should not be freed. |
charconst * go_line_dash_as_label (GOLineDashType type);
|
a GOLineDashType |
Returns : |
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. |
GOLineInterpolation go_line_interpolation_from_str (char const *name);
|
an interpolation type nickname |
Returns : |
a GOLineInterpolation corresponding to name , or
GO_LINE_INTERPOLATION_LINEAR if not found.
|
charconst * go_line_interpolation_as_str (GOLineInterpolation type);
|
an interpolation type |
Returns : |
a pointer to the nickname of type , or "linear" if type
is invalid. The returned string should not be freed.
|