From 44eab3deb5f1a748d95bd250841cfd500085a48f Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Fri, 21 Jan 2005 13:29:36 +0000 Subject: add page_[xy]_offset fields. * ps/ps-document.h: add page_[xy]_offset fields. * ps/ps-document.c (ps_document_set_page_offset) (ps_document_render): Keep offset in consideration in a few places. Bug #164752 "postscript documents are not centered in window" --- (limited to 'ps/ps-document.h') diff --git a/ps/ps-document.h b/ps/ps-document.h index dd5555e..fb58ca4 100644 --- a/ps/ps-document.h +++ b/ps/ps-document.h @@ -107,6 +107,9 @@ struct _PSDocument { const gchar *gs_status; /* PSDocument status */ guint avail_w, avail_h; + + int page_x_offset; + int page_y_offset; }; struct _PSDocumentClass { -- cgit v0.9.1