]> mj.ucw.cz Git - paperjam.git/blobdiff - jam.h
Modulo works
[paperjam.git] / jam.h
diff --git a/jam.h b/jam.h
index b3f08d78fa3a999dcea5174a8f86566366b8b8a1..b18aa82a4f95f218f23f67479bd2a1e97faa1584 100644 (file)
--- a/jam.h
+++ b/jam.h
@@ -54,6 +54,11 @@ struct page {
   page(double _w=0, double _h=0) : width(_w), height(_h) { }
 };
 
+struct empty_page : public page {
+  void render(page_out *out UNUSED, pdf_matrix xform UNUSED) { }
+  empty_page(double _w=0, double _h=0) : page(_w, _h) { };
+};
+
 struct cmd_exec {
   virtual vector<page *> process(vector <page *> &pages UNUSED) { abort(); }
 };