Currently to change vector layer properties, you need to grab the VectorLayerOptions and then grab its FillOptions or the StrokeOptions to make changes. To make this process more self-contained, this patch creates a gimp_vector_layer_set () function that operates in the same manner as gimp_text_layer_set (). This patch adds properties for Fill - Stroke properties will be added in a follow-up commit. This also adds automatic tracking for Undoing/Redoing vector property settings. A demonstration of its use in DnD colors and patterns onto the layer dock is included. |
||
|---|---|---|
| .. | ||
| gimpanchor.c | ||
| gimpanchor.h | ||
| gimpbezierstroke.c | ||
| gimpbezierstroke.h | ||
| gimppath-compat.c | ||
| gimppath-compat.h | ||
| gimppath-export.c | ||
| gimppath-export.h | ||
| gimppath-import.c | ||
| gimppath-import.h | ||
| gimppath-preview.c | ||
| gimppath-preview.h | ||
| gimppath-warp.c | ||
| gimppath-warp.h | ||
| gimppath.c | ||
| gimppath.h | ||
| gimppathmodundo.c | ||
| gimppathmodundo.h | ||
| gimppathpropundo.c | ||
| gimppathpropundo.h | ||
| gimppathundo.c | ||
| gimppathundo.h | ||
| gimpstroke-new.c | ||
| gimpstroke-new.h | ||
| gimpstroke.c | ||
| gimpstroke.h | ||
| gimpvectorlayer.c | ||
| gimpvectorlayer.h | ||
| gimpvectorlayeroptions.c | ||
| gimpvectorlayeroptions.h | ||
| gimpvectorlayerundo.c | ||
| gimpvectorlayerundo.h | ||
| meson.build | ||
| path-enums.h | ||
| path-types.h | ||