diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-09-11 23:57:38 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-09-11 23:57:38 +0400 |
commit | 6be21a91253a823f33060d354333b886c1b95b0a (patch) | |
tree | dcadcea96beebac71694307edb7fbe2c581c3dd9 /source/blender/makesdna/DNA_linestyle_types.h | |
parent | f045c18a78ba44b6b4144bf40af1d872ec898fda (diff) |
Implemented a calligraphic thickness modifier in the Parameter Editor mode.
Also fixed a typo in the docstring of the CalligraphicShader.
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 |