fixed pdf scalefactor bug

This commit is contained in:
Florian Stecker committed 2019-01-18 15:26:04 +01:00
1 parent 80957d590e
commit 78ad483918
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ static Bool alwaysTruePredicate(Display *display, XEvent *event, XPointer arg)
return true;
}
// this computes center, radius and scalefactor out of ctx->matrix
void updateDimensions(DrawingContext *ctx)
{
double det = ctx->matrix.xx * ctx->matrix.yy - ctx->matrix.xy * ctx->matrix.yx;