Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/stroke/TextStrokeRenderer.h
| Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
| /* TextStrokeRenderer */ | /* TextStrokeRenderer */ | ||||
| /* */ | /* */ | ||||
| /* */ | /* */ | ||||
| /**********************************/ | /**********************************/ | ||||
| class TextStrokeRenderer : public StrokeRenderer { | class TextStrokeRenderer : public StrokeRenderer { | ||||
| public: | public: | ||||
| TextStrokeRenderer(const char *iFileName = NULL); | TextStrokeRenderer(const char *iFileName = NULL); | ||||
| virtual ~TextStrokeRenderer(); | |||||
| /*! Renders a stroke rep */ | /*! Renders a stroke rep */ | ||||
| virtual void RenderStrokeRep(StrokeRep *iStrokeRep) const; | virtual void RenderStrokeRep(StrokeRep *iStrokeRep) const; | ||||
| virtual void RenderStrokeRepBasic(StrokeRep *iStrokeRep) const; | virtual void RenderStrokeRepBasic(StrokeRep *iStrokeRep) const; | ||||
| /*! Closes the output file */ | |||||
| void Close(); | |||||
| protected: | protected: | ||||
| mutable ofstream _ofstream; | mutable ofstream _ofstream; | ||||
| }; | }; | ||||
| } /* namespace Freestyle */ | } /* namespace Freestyle */ | ||||
| #endif // TEXTSTROKERENDERER_H | #endif // TEXTSTROKERENDERER_H | ||||