diff options
Diffstat (limited to 'source/blender/makesdna/DNA_linestyle_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_linestyle_types.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_linestyle_types.h b/source/blender/makesdna/DNA_linestyle_types.h index 94d2d4bb723..8b3b5a60181 100644 --- a/source/blender/makesdna/DNA_linestyle_types.h +++ b/source/blender/makesdna/DNA_linestyle_types.h @@ -61,7 +61,8 @@ typedef struct LineStyleModifier { #define LS_MODIFIER_PERLIN_NOISE_2D 10 #define LS_MODIFIER_BACKBONE_STRETCHER 11 #define LS_MODIFIER_TIP_REMOVER 12 -#define LS_MODIFIER_NUM 13 +#define LS_MODIFIER_CALLIGRAPHY 13 +#define LS_MODIFIER_NUM 14 /* LineStyleModifier::flags */ #define LS_MODIFIER_ENABLED 1 @@ -294,6 +295,17 @@ typedef struct LineStyleGeometryModifier_TipRemover { } LineStyleGeometryModifier_TipRemover; +/* Calligraphic thickness modifier */ + +typedef struct LineStyleThicknessModifier_Calligraphy { + struct LineStyleModifier modifier; + + float min_thickness, max_thickness; + float orientation; + int pad; + +} LineStyleThicknessModifier_Calligraphy; + /* FreestyleLineStyle::panel */ #define LS_PANEL_STROKES 1 #define LS_PANEL_COLOR 2 |