Blender  V3.3
TextStrokeRenderer.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 //
8 // Filename : TextStrokeRenderer.h
9 // Author(s) : Stephane Grabli
10 // Purpose : Class to define the text rendering of a stroke
11 // Format:
12 // x y width height // bbox
13 // //list of vertices :
14 // t x y z t1 t2 r g b alpha ...
15 // ...
16 // Date of creation : 01/14/2005
17 //
19 
20 #ifndef TEXTSTROKERENDERER_H
21 #define TEXTSTROKERENDERER_H
22 
23 #include <fstream>
24 
25 #include "StrokeRenderer.h"
26 
27 #include "../system/FreestyleConfig.h"
28 
29 namespace Freestyle {
30 
31 /**********************************/
32 /* */
33 /* */
34 /* TextStrokeRenderer */
35 /* */
36 /* */
37 /**********************************/
38 
40  public:
41  TextStrokeRenderer(const char *iFileName = NULL);
42 
44  virtual void RenderStrokeRep(StrokeRep *iStrokeRep) const;
45  virtual void RenderStrokeRepBasic(StrokeRep *iStrokeRep) const;
46 
47  protected:
48  mutable ofstream _ofstream;
49 };
50 
51 } /* namespace Freestyle */
52 
53 #endif // TEXTSTROKERENDERER_H
Classes to render a stroke with OpenGL.
TextStrokeRenderer(const char *iFileName=NULL)
virtual void RenderStrokeRep(StrokeRep *iStrokeRep) const
virtual void RenderStrokeRepBasic(StrokeRep *iStrokeRep) const
inherits from class Rep
Definition: AppCanvas.cpp:18