Commit f78b79ec authored by Sebastian Ramacher's avatar Sebastian Ramacher

scale cairo surface

parent 72ebb3bc
......@@ -200,6 +200,10 @@ render(zathura_t* zathura, zathura_page_t* page)
break;
}
if (fabs(zathura->document->scale - 1.0f) > FLT_EPSILON) {
cairo_scale(cairo, zathura->document->scale, zathura->document->scale);
}
if (page->document->rotate != 0) {
cairo_rotate(cairo, page->document->rotate * G_PI / 180.0);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment