Blender V5.3
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
29
30namespace Freestyle {
31
32/**********************************/
33/* */
34/* */
35/* TextStrokeRenderer */
36/* */
37/* */
38/**********************************/
39
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 */
Configuration definitions.
Classes to render a stroke with OpenGL.
virtual void RenderStrokeRep(StrokeRep *iStrokeRep) const
TextStrokeRenderer(const char *iFileName=nullptr)
virtual void RenderStrokeRepBasic(StrokeRep *iStrokeRep) const
inherits from class Rep
Definition AppCanvas.cpp:20