#include <render2png.h>
◆ converter()
html2png::converter::converter |
( |
int |
screen_width = 800 , |
|
|
int |
screen_height = 600 , |
|
|
double |
dpi = 96 , |
|
|
const char * |
default_font = nullptr , |
|
|
cairo_font_options_t * |
font_options = nullptr |
|
) |
| |
◆ get_default_font()
const char * html2png::converter::get_default_font |
( |
| ) |
const |
|
inline |
◆ get_dpi()
double html2png::converter::get_dpi |
( |
| ) |
const |
|
inline |
◆ get_font_options()
cairo_font_options_t * html2png::converter::get_font_options |
( |
| ) |
|
|
inline |
◆ get_screen_height()
int html2png::converter::get_screen_height |
( |
| ) |
const |
|
inline |
◆ get_screen_width()
int html2png::converter::get_screen_width |
( |
| ) |
const |
|
inline |
◆ to_pixbuf()
GdkPixbuf * html2png::converter::to_pixbuf |
( |
const std::string & |
html_file | ) |
|
◆ to_png()
bool html2png::converter::to_png |
( |
const std::string & |
html_file, |
|
|
const std::string & |
png_file |
|
) |
| |
◆ m_default_font
const char* html2png::converter::m_default_font |
|
private |
◆ m_dpi
double html2png::converter::m_dpi |
|
private |
◆ m_font_options
cairo_font_options_t* html2png::converter::m_font_options |
|
private |
◆ m_screen_height
int html2png::converter::m_screen_height |
|
private |
◆ m_screen_width
int html2png::converter::m_screen_width |
|
private |
The documentation for this class was generated from the following files: