Skip to content

Commit b40742d

Browse files
itzpr3d4t0rStarbuck5
authored andcommitted
Merge pull request #2708 from itzpr3d4t0r/add-special-flags-links
Add missing special_flags links
1 parent a2ee8bc commit b40742d

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

docs/reST/ref/surface.rst

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@
174174

175175
``(source, dest, area, special_flags)``
176176
- ``special_flags``: (optional) Controls the blending mode for drawing colors.
177+
See :doc:`special_flags_list` for a list of possible values.
177178

178179
**Notes**
179180

@@ -205,7 +206,8 @@
205206
mode specified by special_flags. The sequence must have at least one (source, dest) pair.
206207

207208
:param blit_sequence: a sequence of (source, dest)
208-
:param special_flags: the flag(s) representing the blend mode used for each surface
209+
:param special_flags: the flag(s) representing the blend mode used for each surface.
210+
See :doc:`special_flags_list` for a list of possible values.
209211

210212
:returns: ``None``
211213

@@ -297,15 +299,8 @@
297299
the Alpha (A part of ``RGBA``) is ignored unless the surface uses per pixel
298300
alpha (Surface has the ``SRCALPHA`` flag).
299301

300-
.. versionaddedold:: 1.8
301-
Optional ``special_flags``: ``BLEND_ADD``, ``BLEND_SUB``,
302-
``BLEND_MULT``, ``BLEND_MIN``, ``BLEND_MAX``.
303-
304-
.. versionaddedold:: 1.8.1
305-
Optional ``special_flags``: ``BLEND_RGBA_ADD``, ``BLEND_RGBA_SUB``,
306-
``BLEND_RGBA_MULT``, ``BLEND_RGBA_MIN``, ``BLEND_RGBA_MAX``
307-
``BLEND_RGB_ADD``, ``BLEND_RGB_SUB``, ``BLEND_RGB_MULT``,
308-
``BLEND_RGB_MIN``, ``BLEND_RGB_MAX``.
302+
The special_flags argument controls how the colors are combined. See :doc:`special_flags_list`
303+
for a list of possible values.
309304

310305
This will return the affected Surface area.
311306

0 commit comments

Comments
 (0)