summaryrefslogtreecommitdiff
path: root/doc/reference/constants.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/constants.rst')
-rw-r--r--doc/reference/constants.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/reference/constants.rst b/doc/reference/constants.rst
index 19c0993..a1fef62 100644
--- a/doc/reference/constants.rst
+++ b/doc/reference/constants.rst
@@ -483,6 +483,23 @@ represented as a :class:`Path`.
A close-path operation
+.. _constants_PDF_VERSION:
+
+cairo.PDF_VERSION
+-----------------
+These constants are used to describe the version number of the PDF
+specification that a generated PDF file will conform to. Note: the constants
+are only defined when cairo has been compiled with PDF support enabled.
+
+.. data:: CAIRO_PDF_VERSION_1_4
+
+ The version 1.4 of the PDF specification.
+
+.. data:: CAIRO_PDF_VERSION_1_5
+
+ The version 1.5 of the PDF specification.
+
+
.. _constants_PS_LEVEL:
cairo.PS_LEVEL