libdcp
|
A (truetype) font asset for subtitles in an Interop DCP. More...
#include <font_asset.h>
Public Member Functions | |
FontAsset (std::string id, boost::filesystem::path file) | |
Public Member Functions inherited from dcp::Asset | |
Asset () | |
Asset (boost::filesystem::path file) | |
Asset (std::string id, boost::filesystem::path file) | |
virtual bool | equals (std::shared_ptr< const Asset > other, EqualityOptions opt, NoteHandler note) const |
virtual void | write_to_assetmap (xmlpp::Node *node, boost::filesystem::path root) const |
virtual void | add_to_pkl (std::shared_ptr< PKL > pkl, boost::filesystem::path root) const |
boost::optional< boost::filesystem::path > | file () const |
void | set_file (boost::filesystem::path file) const |
std::string | hash (boost::function< void(float)> progress={}) const |
void | set_hash (std::string hash) |
Public Member Functions inherited from dcp::Object | |
Object () | |
Object (std::string id) | |
Object (Object const &)=delete | |
Object & | operator= (Object const &)=delete |
std::string | id () const |
Static Public Member Functions | |
static std::string | static_pkl_type (Standard standard) |
Private Member Functions | |
std::string | pkl_type (Standard standard) const override |
Additional Inherited Members | |
Static Protected Member Functions inherited from dcp::Asset | |
static void | write_file_to_assetmap (xmlpp::Node *node, boost::filesystem::path root, boost::filesystem::path file, std::string id) |
Protected Attributes inherited from dcp::Asset | |
boost::optional< boost::filesystem::path > | _file |
Protected Attributes inherited from dcp::Object | |
std::string | _id |
A (truetype) font asset for subtitles in an Interop DCP.
Definition at line 49 of file font_asset.h.
|
inlineoverrideprivatevirtual |
Implements dcp::Asset.
Definition at line 57 of file font_asset.h.