Default constructor (blank text)
| 24 | |
| 25 | /// Default constructor (blank text) |
| 26 | QtTextReader::QtTextReader() : width(1024), height(768), x_offset(0), y_offset(0), text(""), font(QFont("Arial", 10)), text_color("#ffffff"), background_color("#000000"), is_open(false), gravity(GRAVITY_CENTER) |
| 27 | { |
| 28 | // Open and Close the reader, to populate it's attributes (such as height, width, etc...) |
| 29 | Open(); |
| 30 | Close(); |
| 31 | } |
| 32 | |
| 33 | QtTextReader::QtTextReader(int width, int height, int x_offset, int y_offset, GravityType gravity, std::string text, QFont font, std::string text_color, std::string background_color) |
| 34 | : width(width), height(height), x_offset(x_offset), y_offset(y_offset), text(text), font(font), text_color(text_color), background_color(background_color), is_open(false), gravity(gravity) |
nothing calls this directly
no outgoing calls
no test coverage detected