pub fn render_html(html: &str, width: i32, height: i32) -> Vec<u32>Expand description
Render an HTML string to a pixel buffer
Convenience function that runs the full pipeline: tokenize -> build DOM -> parse CSS -> resolve styles -> layout -> paint
pub fn render_html(html: &str, width: i32, height: i32) -> Vec<u32>Render an HTML string to a pixel buffer
Convenience function that runs the full pipeline: tokenize -> build DOM -> parse CSS -> resolve styles -> layout -> paint