Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
f78b79ec
Commit
f78b79ec
authored
Sep 29, 2011
by
Sebastian Ramacher
Browse files
scale cairo surface
parent
72ebb3bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
render.c
View file @
f78b79ec
...
...
@@ -200,6 +200,10 @@ render(zathura_t* zathura, zathura_page_t* page)
break
;
}
if
(
fabs
(
zathura
->
document
->
scale
-
1
.
0
f
)
>
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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment