aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFObjectHandle.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh
index 456dade4..fbe02ba8 100644
--- a/include/qpdf/QPDFObjectHandle.hh
+++ b/include/qpdf/QPDFObjectHandle.hh
@@ -507,6 +507,13 @@ class QPDFObjectHandle
QPDF_DLL
void addPageContents(QPDFObjectHandle contents, bool first);
+ // Rotate a page. If relative is false, set the rotation of the
+ // page to angle. Otherwise, add angle to the rotation of the
+ // page. Angle must be a multiple of 90. Adding 90 to the rotation
+ // rotates clockwise by 90 degrees.
+ QPDF_DLL
+ void rotatePage(int angle, bool relative);
+
// Initializers for objects. This Factory class gives the QPDF
// class specific permission to call factory methods without
// making it a friend of the whole QPDFObjectHandle class.