finish LastResort

This commit is contained in:
Paddy Xu
2017-04-24 22:17:46 +03:00
parent 431cf1f014
commit 5e70b0052f
16 changed files with 1359 additions and 1031 deletions

View File

@@ -26,8 +26,8 @@ namespace QuickLook.Plugin.PDFViewer
var height = (int) (pageBound.Height * zoomY);
// sets the matrix as a scaling matrix (zoomX,0,0,zoomY,0,0)
ctm.A = (float)zoomX;
ctm.D = (float)zoomY;
ctm.A = (float) zoomX;
ctm.D = (float) zoomY;
// creates a pixmap the same size as the width and height of the page
pix = NativeMethods.NewPixmap(context, NativeMethods.LookupDeviceColorSpace(context, "DeviceRGB"), width,