libdcp
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
dcp::FontAsset Class Reference

A (truetype) font asset for subtitles in an Interop DCP. More...

#include <font_asset.h>

Inheritance diagram for dcp::FontAsset:
dcp::Asset dcp::Object

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
 
Objectoperator= (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
 

Detailed Description

A (truetype) font asset for subtitles in an Interop DCP.

Definition at line 49 of file font_asset.h.

Member Function Documentation

◆ pkl_type()

std::string dcp::FontAsset::pkl_type ( Standard  standard) const
inlineoverrideprivatevirtual
Returns
type string for PKLs for this asset

Implements dcp::Asset.

Definition at line 57 of file font_asset.h.


The documentation for this class was generated from the following files: