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