Added two stroke geometry modifiers: Parameterization and Guiding Lines.

This commit is contained in:
Tamito Kajiyama
2011-11-01 09:47:41 +00:00
parent 12f2c06d34
commit ac6bdfb653
7 changed files with 82 additions and 2 deletions

View File

@@ -977,6 +977,12 @@ def process(layer_name, lineset_name):
elif m.type == "TIP_REMOVER":
shaders_list.append(TipRemoverShader(
m.tip_length))
elif m.type == "POLYGONIZATION":
shaders_list.append(PolygonalizationShader(
m.error))
elif m.type == "GUIDING_LINES":
shaders_list.append(GuidingLinesShader(
m.offset))
color = linestyle.color
shaders_list.append(ConstantColorShader(color.r, color.g, color.b, linestyle.alpha))
shaders_list.append(ConstantThicknessShader(linestyle.thickness))