summaryrefslogtreecommitdiff
path: root/doc/reference/surfaces.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/surfaces.rst')
-rw-r--r--doc/reference/surfaces.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/reference/surfaces.rst b/doc/reference/surfaces.rst
index 8c6332a..f1779a4 100644
--- a/doc/reference/surfaces.rst
+++ b/doc/reference/surfaces.rst
@@ -340,8 +340,8 @@ multi-page vector surface backend.
.. class:: PDFSurface(fobj, width_in_points, height_in_points)
- :param fobj: a filename or writable file object
- :type fobj: str, file or file-like object
+ :param fobj: a filename or writable file object. None may be used to specify no output. This will generate a *PDFSurface* that may be queried and used as a source, without generating a temporary file.
+ :type fobj: None, str, file or file-like object
:param width_in_points: width of the surface, in points
(1 point == 1/72.0 inch)
:type width_in_points: float
@@ -382,7 +382,7 @@ is a multi-page vector surface backend.
.. class:: PSSurface(fobj, width_in_points, height_in_points)
- :param fobj: a filename or writable file object
+ :param fobj: a filename or writable file object. None may be used to specify no output. This will generate a *PSSurface* that may be queried and used as a source, without generating a temporary file.
:type fobj: str, file or file-like object
:param width_in_points: width of the surface, in points
(1 point == 1/72.0 inch)
@@ -585,7 +585,7 @@ multi-page vector surface backend
.. class:: SVGSurface(fobj, width_in_points, height_in_points)
- :param fobj: a filename or writable file object
+ :param fobj: a filename or writable file object. None may be used to specify no output. This will generate a *SVGSurface* that may be queried and used as a source, without generating a temporary file.
:type fobj: str, file or file-like object
:param width_in_points: width of the surface, in points (1 point == 1/72.0 inch)
:type width_in_points: float