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>2012-04-11 03:53:46 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-04-11 03:53:46 +0400
commit5f02b167d191969474c8f3575abdd6dbaeffeb57 (patch)
treec6af52cbefd00519d2879486c768ba02cf4e4769 /source/blender/freestyle/intern/stroke/Stroke.h
parent826a09300a6ac270157b8735c2dd29f753b85235 (diff)
New options for specifying unit line thickness.
The Post Processing tab in the Render buttons has new Line Thickness options for defining unit line thickness in two different modes as follows: 1. Absolute mode: The unit line thickness is given by a user-specified number in units of pixels. The default value is 1. 2. Relative mode: The unit line thickness is scaled by the proportion of the present vertical image resolution to 480 pixels. For instance, the unit line thickness is 1 with the image height set to 480, 1.5 with 720, and 2 with 960.
Diffstat (limited to 'source/blender/freestyle/intern/stroke/Stroke.h')
-rwxr-xr-xsource/blender/freestyle/intern/stroke/Stroke.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/stroke/Stroke.h b/source/blender/freestyle/intern/stroke/Stroke.h
index 1b1084b54c2..5b20bcac896 100755
--- a/source/blender/freestyle/intern/stroke/Stroke.h
+++ b/source/blender/freestyle/intern/stroke/Stroke.h
@@ -470,6 +470,7 @@ public:
void UpdateLength();
/* Render method */
+ void ScaleThickness(float iFactor);
void Render(const StrokeRenderer *iRenderer );
void RenderBasic(const StrokeRenderer *iRenderer );