mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02:00
pdb, app, libgimp, libgimpconfig: Stroke/Fill Vector Layer PDB
This patch adds additional API for setting the stroke/fill properties of vector layers. You can now set/get color, stroke width and stroke style via the PDB. Pattern get/set API is not yet implemented. This patch also updates a missing parameter check for GimpVectorLayer in gimp_config_param_spec_duplicate (), and adds additional API in /app to make it easier to safely retrieve GimpVectorLayerOptions.
This commit is contained in:
@@ -316,6 +316,7 @@ gimp_config_param_spec_duplicate (GParamSpec *pspec)
|
||||
g_strcmp0 (type_name, "GimpLayer") == 0 ||
|
||||
g_strcmp0 (type_name, "GimpGroupLayer") == 0 ||
|
||||
g_strcmp0 (type_name, "GimpTextLayer") == 0 ||
|
||||
g_strcmp0 (type_name, "GimpVectorLayer") == 0 ||
|
||||
g_strcmp0 (type_name, "GimpChannel") == 0 ||
|
||||
g_strcmp0 (type_name, "GimpItem") == 0 ||
|
||||
g_strcmp0 (type_name, "GimpLayerMask") == 0 ||
|
||||
|
Reference in New Issue
Block a user