33 #ifndef OPENSHOT_QT_HTML_READER_H 34 #define OPENSHOT_QT_HTML_READER_H 94 std::string background_color;
95 std::shared_ptr<QImage> image;
112 QtHtmlReader(
int width,
int height,
int x_offset,
int y_offset,
GravityType gravity, std::string html, std::string css, std::string background_color);
125 std::shared_ptr<openshot::Frame>
GetFrame(int64_t requested_frame);
131 std::string
Name() {
return "QtHtmlReader"; };
135 void SetJson(std::string value);
void SetJson(std::string value)
Load JSON string into this object.
openshot::CacheMemory * GetCache()
Get the cache object used by this reader (always returns NULL for this object)
Header file for ReaderBase class.
std::string Json()
Get and Set JSON methods.
This abstract class is the base class, used by all readers in libopenshot.
std::string Name()
Return the type name of the class.
Header file for CacheMemory class.
Header file for all Exception classes.
bool IsOpen()
Determine if reader is open or closed.
QtHtmlReader()
Default constructor (blank text)
Header file for TextReader class.
Json::Value JsonValue()
Generate Json::JsonValue for this object.
void Close()
Close Reader.
This namespace is the default namespace for all code in the openshot library.
void SetJsonValue(Json::Value root)
Load Json::JsonValue into this object.
void Open()
Open Reader - which is called by the constructor automatically.
This class is a memory-based cache manager for Frame objects.
GravityType
This enumeration determines how clips are aligned to their parent container.
This class uses Qt libraries, to create frames with rendered HTML, and return openshot::Frame objects...
std::shared_ptr< openshot::Frame > GetFrame(int64_t requested_frame)