Skip to content

Commit

Permalink
removed special flags section again
Browse files Browse the repository at this point in the history
  • Loading branch information
itzpr3d4t0r committed Jul 8, 2023
1 parent fac9bb5 commit e423fdd
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions docs/reST/ref/surface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,38 +219,14 @@
will be performed.

For a detailed list and explanation of all possible flags, refer to the **Special Flags**
section in the documentation for :meth:`pygame.Surface()` or check the **Special Flags**
section below.
section in the documentation for :meth:`Surface()`.

**Return**

A ``Rect`` object representing the affected area of this ``Surface`` that was modified
by the blit operation. This area includes only the pixels within this ``Surface`` or
its clipping area (see :meth:`set_clip`).

**Special Flags**

Blending without Alpha Channel (RGB):

``BLEND_ADD`` / ``BLEND_RGB_ADD``,
``BLEND_SUB`` / ``BLEND_RGB_SUB``,
``BLEND_MULT`` / ``BLEND_RGB_MULT``,
``BLEND_MIN`` / ``BLEND_RGB_MIN``,
``BLEND_MAX`` / ``BLEND_RGB_MAX``,

Blending with Alpha Channel (RGBA):

``BLEND_RGBA_ADD``
``BLEND_RGBA_SUB``
``BLEND_RGBA_MULT``
``BLEND_RGBA_MIN``
``BLEND_RGBA_MAX``

Special Alpha blending (RGBA):

``BLEND_PREMULTIPLIED``
``BLEND_ALPHA_SDL2``

**Notes**

.. note:: If the ``dest`` parameter is a ``Rect`` object, only its ``x`` and ``y`` coordinates
Expand Down

0 comments on commit e423fdd

Please sign in to comment.