Add ability to apply style sheet/css to format HTML

This commit is contained in:
Jeff Shillitto
2019-08-13 22:11:55 +10:00
parent c8f2c08d34
commit 78f370ee14
3 changed files with 11 additions and 6 deletions

View File

@@ -45,6 +45,7 @@ int main(int argc, char* argv[]) {
5, // y_offset
GRAVITY_CENTER, // gravity
"<span style=\"font-family:sans-serif; color:#fff;\"><b>Check out</b> this Text!</span>", // html
"b { color: #ff0000; }",
"#000000" // background_color
);
r.Open(); // Open the reader