Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2011-09-11 23:57:38 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2011-09-11 23:57:38 +0400
commit6be21a91253a823f33060d354333b886c1b95b0a (patch)
treedcadcea96beebac71694307edb7fbe2c581c3dd9 /source/blender/makesdna/DNA_linestyle_types.h
parentf045c18a78ba44b6b4144bf40af1d872ec898fda (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.h14
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