diff options
author | Martin Kretzschmar <martink@src.gnome.org> | 2005-01-21 13:29:36 (GMT) |
---|---|---|
committer | Martin Kretzschmar <martink@src.gnome.org> | 2005-01-21 13:29:36 (GMT) |
commit | 44eab3deb5f1a748d95bd250841cfd500085a48f (patch) | |
tree | a18adb5e691823675eedf9aff0136b06833abc6d /ps/ps-document.h | |
parent | b0aeba08ccb8ced29a77d008042f62de1a57394b (diff) |
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"
Diffstat (limited to 'ps/ps-document.h')
-rw-r--r-- | ps/ps-document.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 { |