Skip to content

Commit f8968fa

Browse files
committed
Update pixmap.rst
1 parent 2aaf94a commit f8968fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/pixmap.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Have a look at the :ref:`FAQ` section to see some pixmap usage "at work".
8383

8484
.. method:: __init__(self, source, width, height, [clip])
8585

86-
**Copy and scale:** Copy *source* pixmap choosing new width and height values. Supports partial copying and the source colorspace may be also *None*.
86+
**Copy and scale:** Copy *source* pixmap, scaling new width and height values -- the image will appear stretched or shrunk accordingly. Supports partial copying. The source colorspace may be *None*.
8787

8888
:arg source: the source pixmap.
8989
:type source: *Pixmap*
@@ -92,9 +92,9 @@ Have a look at the :ref:`FAQ` section to see some pixmap usage "at work".
9292

9393
:arg float height: desired target height.
9494

95-
:arg irect_like clip: a region of the source pixmap to take the copy from.
95+
:arg irect_like clip: restrict the resulting pixmap to this region of the **scaled** pixmap.
9696

97-
.. note:: If width or height are not *de facto* integers (meaning e.g. *float(int(width) != width*), then pixmap will be created with *alpha = 1*.
97+
.. note:: If width or height are not *de facto* integers (i.e. *float(int(value) != value*), then the resulting pixmap will have an alpha channel.
9898

9999
.. method:: __init__(self, source, alpha=1)
100100

0 commit comments

Comments
 (0)