diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-08-26 14:29:06 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-08-29 18:28:40 +0200 |
| commit | c7f45cd00b94393f6e15428a2ea256995f890412 (patch) | |
| tree | 92c045700e0e60a2a44aec0daa5210278d11f4d6 /src/lib/render_text.h | |
| parent | e71e6d33210e4a4c7d7841d0d5d8e906e00bb82f (diff) | |
Cleanup: use some more vector instead of list.
Diffstat (limited to 'src/lib/render_text.h')
| -rw-r--r-- | src/lib/render_text.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/render_text.h b/src/lib/render_text.h index 6d20912a2..ff34dc10d 100644 --- a/src/lib/render_text.h +++ b/src/lib/render_text.h @@ -32,9 +32,9 @@ namespace dcpomatic { } -std::string marked_up (std::list<StringText> subtitles, int target_height, float fade_factor, std::string font_name); -std::list<PositionImage> render_text (std::list<StringText>, dcp::Size, dcpomatic::DCPTime, int); -std::list<dcpomatic::Rect<int>> bounding_box(std::list<StringText> subtitles, dcp::Size target, boost::optional<dcp::SubtitleStandard> override_standard = boost::none); +std::string marked_up(std::vector<StringText> subtitles, int target_height, float fade_factor, std::string font_name); +std::vector<PositionImage> render_text(std::vector<StringText>, dcp::Size, dcpomatic::DCPTime, int); +std::vector<dcpomatic::Rect<int>> bounding_box(std::vector<StringText> subtitles, dcp::Size target, boost::optional<dcp::SubtitleStandard> override_standard = boost::none); class FontMetrics |
