Blender
V5.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
8
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
#pragma once
23
24
#include <fstream>
25
26
#include "
StrokeRenderer.h
"
27
28
#include "
../system/FreestyleConfig.h
"
29
30
namespace
Freestyle
{
31
32
/**********************************/
33
/* */
34
/* */
35
/* TextStrokeRenderer */
36
/* */
37
/* */
38
/**********************************/
39
40
class
TextStrokeRenderer
:
public
StrokeRenderer
{
41
public
:
42
TextStrokeRenderer
(
const
char
*iFileName =
nullptr
);
43
45
virtual
void
RenderStrokeRep
(
StrokeRep
*iStrokeRep)
const
;
46
virtual
void
RenderStrokeRepBasic
(
StrokeRep
*iStrokeRep)
const
;
47
48
protected
:
49
mutable
ofstream
_ofstream
;
50
};
51
52
}
/* namespace Freestyle */
FreestyleConfig.h
Configuration definitions.
StrokeRenderer.h
Classes to render a stroke with OpenGL.
Freestyle::StrokeRenderer
Definition
StrokeRenderer.h:106
Freestyle::StrokeRep
Definition
StrokeRep.h:162
Freestyle::TextStrokeRenderer::_ofstream
ofstream _ofstream
Definition
TextStrokeRenderer.h:49
Freestyle::TextStrokeRenderer::RenderStrokeRep
virtual void RenderStrokeRep(StrokeRep *iStrokeRep) const
Definition
TextStrokeRenderer.cpp:33
Freestyle::TextStrokeRenderer::TextStrokeRenderer
TextStrokeRenderer(const char *iFileName=nullptr)
Definition
TextStrokeRenderer.cpp:15
Freestyle::TextStrokeRenderer::RenderStrokeRepBasic
virtual void RenderStrokeRepBasic(StrokeRep *iStrokeRep) const
Definition
TextStrokeRenderer.cpp:38
Freestyle
inherits from class Rep
Definition
AppCanvas.cpp:20
Generated on
for Blender by
doxygen
1.18.0