MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / QtHtmlReader

Method QtHtmlReader

src/QtHtmlReader.cpp:28–33  ·  view source on GitHub ↗

Default constructor (blank text)

Source from the content-addressed store, hash-verified

26
27/// Default constructor (blank text)
28QtHtmlReader::QtHtmlReader() : width(1024), height(768), x_offset(0), y_offset(0), html(""), css(""), background_color("#000000"), is_open(false), gravity(GRAVITY_CENTER)
29{
30 // Open and Close the reader, to populate it's attributes (such as height, width, etc...)
31 Open();
32 Close();
33}
34
35QtHtmlReader::QtHtmlReader(int width, int height, int x_offset, int y_offset, GravityType gravity, std::string html, std::string css, std::string background_color)
36: width(width), height(height), x_offset(x_offset), y_offset(y_offset), gravity(gravity), html(html), css(css), background_color(background_color), is_open(false)

Callers 1

ExampleHtml.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected