]> mj.ucw.cz Git - paperjam.git/blobdiff - TODO
TODO
[paperjam.git] / TODO
diff --git a/TODO b/TODO
index fea7831fd2c34412c7dfcff7aae70da220466e97..c49fba3655b76be57d082896ae5402b30c18aa0c 100644 (file)
--- a/TODO
+++ b/TODO
@@ -2,3 +2,29 @@
 - What if an input page specifies /Rotate?
 - Better error messages from instantiation
 - page->index: use or remove
+- rename page->bbox to page->image_box?
+
+# Position bbox on a new paper
+paper("a4")
+paper(w=210mm,h=297mm,pos=(t|b|c)(l|r|c))
+
+# Scale paper to a new size
+scaleto("a4")
+scaleto(w=210mm,h=297mm,pos=tl)
+
+# Fit image to a paper
+# If paper is given: scale image
+# If no paper is given: adjust paper to image + margins
+fit("a4")
+fit(w=, h=)
+margin= hmargin= vmargin=
+lmargin= rmargin= tmargin= bmargin=
+pos=
+
+# Adjust paper size
+expand(10mm)
+expand(h=10mm, v=20mm)
+expand(l=10mm, r=10mm, t=10mm, b=10mm)
+
+# Adjust image size (in terms of margins around)
+margins ... params like expand