OpenShot Library | libopenshot
0.2.5
|
Go to the documentation of this file.
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"; };
134 std::string
Json()
const override;
135 void SetJson(
const std::string value);
This namespace is the default namespace for all code in the openshot library.
std::shared_ptr< openshot::Frame > GetFrame(int64_t requested_frame)
GravityType
This enumeration determines how clips are aligned to their parent container.
bool IsOpen()
Determine if reader is open or closed.
This class uses Qt libraries, to create frames with rendered HTML, and return openshot::Frame objects...
This class is a memory-based cache manager for Frame objects.
void SetJson(const std::string value)
Load JSON string into this object.
Header file for CacheMemory class.
Json::Value JsonValue() const override
Generate Json::Value for this object.
std::string Name()
Return the type name of the class.
QtHtmlReader()
Default constructor (blank text)
Header file for ReaderBase class.
openshot::CacheMemory * GetCache()
Get the cache object used by this reader (always returns NULL for this object)
Header file for TextReader class.
This abstract class is the base class, used by all readers in libopenshot.
void SetJsonValue(const Json::Value root)
Load Json::Value into this object.
std::string Json() const override
Get and Set JSON methods.
void Open()
Open Reader - which is called by the constructor automatically.
void Close()
Close Reader.
Header file for all Exception classes.