fixed pdf scalefactor bug

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

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;