]> git.sesse.net Git - casparcg/blob - core/producer/text/utils/text_info.h
Misc modifications to fix problems found by static code analysis and some simplificat...
[casparcg] / core / producer / text / utils / text_info.h
1 #pragma once
2
3 #include <string>
4 #include "color.h"
5
6 namespace caspar { namespace core { namespace text {
7
8         struct text_info
9         {
10                 std::wstring font;
11                 std::wstring font_file;
12
13                 float size;
14                 color<float> color;
15                 //int shadow_distance;
16                 //int shadow_size;
17                 //float shadow_spread;
18                 //color<float> shadow_color;
19                 int baseline_shift;
20                 int tracking;
21
22                 text_info()
23                         : size(0.0f)
24                         , baseline_shift(0)
25                         , tracking(0)
26                 {
27                 }
28         };
29
30 }}}