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 const &opt, NoteHandler note) const |
virtual void | add_to_assetmap (AssetMap &asset_map, 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 |
void | set_file_preserving_hash (boost::filesystem::path file) const |
void | rename_file (boost::filesystem::path file) |
std::string | hash (boost::function< void(int64_t, int64_t)> progress={}) const |
void | set_hash (std::string hash) |
void | unset_hash () |
Public Member Functions inherited from dcp::Object | |
Object () | |
Object (std::string id) | |
Object (Object const &other) | |
Object & | operator= (Object const &other) |
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 | add_file_to_assetmap (AssetMap &asset_map, 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.