diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-11-08 14:56:09 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-11-08 14:56:09 +0000 |
| commit | 517288aebef7426ab1a70065746d0a81d545568d (patch) | |
| tree | 2a35356ce5c50d302e69de010a7047af78503013 /src/style-enums.h | |
| parent | fix bug 1793940 ODG image export (diff) | |
| download | inkscape-517288aebef7426ab1a70065746d0a81d545568d.tar.gz inkscape-517288aebef7426ab1a70065746d0a81d545568d.zip | |
Implement the remaining vector effects properties.
Diffstat (limited to 'src/style-enums.h')
| -rw-r--r-- | src/style-enums.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/style-enums.h b/src/style-enums.h index 24ebda5d1..be34f56b5 100644 --- a/src/style-enums.h +++ b/src/style-enums.h @@ -310,8 +310,11 @@ enum SPTextRendering { }; enum SPVectorEffect { - SP_VECTOR_EFFECT_NONE, - SP_VECTOR_EFFECT_NON_SCALING_STROKE + SP_VECTOR_EFFECT_NONE = 0, + SP_VECTOR_EFFECT_NON_SCALING_STROKE = 1, + SP_VECTOR_EFFECT_NON_SCALING_SIZE = 2, + SP_VECTOR_EFFECT_NON_ROTATION = 4, + SP_VECTOR_EFFECT_FIXED_POSITION = 8 }; struct SPStyleEnum { @@ -675,6 +678,9 @@ static SPStyleEnum const enum_color_interpolation[] = { static SPStyleEnum const enum_vector_effect[] = { {"none", SP_VECTOR_EFFECT_NONE}, {"non-scaling-stroke", SP_VECTOR_EFFECT_NON_SCALING_STROKE}, + {"non-scaling-size", SP_VECTOR_EFFECT_NON_SCALING_SIZE}, + {"non-rotation", SP_VECTOR_EFFECT_NON_ROTATION}, + {"fixed-position", SP_VECTOR_EFFECT_FIXED_POSITION}, {nullptr, -1} }; |
