| GIMP Application Reference Manual | ||||
|---|---|---|---|---|
GimpStrokeOptions;
void gimp_stroke_options_set_dash_pattern
(GimpStrokeOptions *options,
GimpDashPreset preset,
GArray *pattern);
"antialias" gboolean : Read / Write / Construct "cap-style" GimpCapStyle : Read / Write / Construct "dash-info" GValueArray : Read / Write / Construct "dash-offset" gdouble : Read / Write / Construct "join-style" GimpJoinStyle : Read / Write / Construct "miter-limit" gdouble : Read / Write / Construct "style" GimpStrokeStyle : Read / Write / Construct "unit" GimpUnit : Read / Write / Construct "width" gdouble : Read / Write / Construct
void gimp_stroke_options_set_dash_pattern
(GimpStrokeOptions *options,
GimpDashPreset preset,
GArray *pattern);
Sets the dash pattern. Either a preset is passed and pattern is
NULL or preset is GIMP_DASH_CUSTOM and pattern is the GArray
to use as the dash pattern. Note that this function takes ownership
of the passed pattern.
|
a GimpStrokeOptions object |
|
a value out of the GimpDashPreset enum |
|
a GArray or NULL if preset is not GIMP_DASH_CUSTOM
|
"cap-style" property"cap-style" GimpCapStyle : Read / Write / Construct
Default value: GIMP_CAP_BUTT
"dash-offset" property"dash-offset" gdouble : Read / Write / Construct
Allowed values: [0,2000]
Default value: 0
"join-style" property"join-style" GimpJoinStyle : Read / Write / Construct
Default value: GIMP_JOIN_MITER
"miter-limit" property"miter-limit" gdouble : Read / Write / Construct
Convert a mitered join to a bevelled join if the miter would extend to a distance of more than miter-limit * line-width from the actual join point.
Allowed values: [0,100]
Default value: 10
"style" property"style" GimpStrokeStyle : Read / Write / Construct
Default value: GIMP_STROKE_STYLE_SOLID
"unit" property"unit" GimpUnit : Read / Write / Construct
Allowed values: [0,65535]
Default value: 0
"width" property"width" gdouble : Read / Write / Construct
Allowed values: [0,2000]
Default value: 6
"dash-info-changed" signalvoid user_function (GimpStrokeOptions *gimpstrokeoptions, GimpDashPreset arg1, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |