/*
- Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
files in the program, then also delete it here.
*/
+
+/** @file src/subtitle_asset_internal.h
+ * @brief Internal SubtitleAsset helpers
+ */
+
+
#ifndef LIBDCP_SUBTITLE_ASSET_INTERNAL_H
#define LIBDCP_SUBTITLE_ASSET_INTERNAL_H
#include "dcp_time.h"
#include <libxml++/libxml++.h>
+
struct take_intersection_test;
struct take_difference_test;
struct pull_fonts_test1;
struct pull_fonts_test2;
struct pull_fonts_test3;
+
namespace dcp {
+
class SubtitleString;
+
namespace order {
+
struct Context
{
std::string xmlns () const;
int spot_number;
};
+
class Font
{
public:
std::map<std::string, std::string> _values;
};
+
class Part
{
public:
std::vector<std::shared_ptr<Part>> children;
};
+
class String : public Part
{
public:
std::string text;
};
+
class Text : public Part
{
public:
Direction _direction;
};
+
class Subtitle : public Part
{
public:
Time _fade_down;
};
+
class Image : public Part
{
public:
float _v_position;
};
-}
}
+}
+
#endif