mirror of https://github.com/kivy/kivy.git
doc: Minor improvements to stencil_instructions
This commit is contained in:
parent
70ba52edf1
commit
506ca9fcad
|
@ -11,8 +11,8 @@ Stencil instructions
|
|||
operation as you did after StencilPush.
|
||||
|
||||
Stencil instructions permit you to draw and use the current drawing as a mask.
|
||||
Even if you don't have as much control as pure OpenGL, you can still do fancy
|
||||
things :=)
|
||||
They don't give as much control as pure OpenGL, but you can still do fancy
|
||||
things!
|
||||
|
||||
The stencil buffer can be controlled using these 3 instructions:
|
||||
|
||||
|
@ -25,7 +25,7 @@ The stencil buffer can be controlled using these 3 instructions:
|
|||
- :class:`StencilPop` : pop the current stencil layer.
|
||||
|
||||
|
||||
Here is a global scheme to respect::
|
||||
You should always respect this scheme:
|
||||
|
||||
.. code-block:: kv
|
||||
|
||||
|
@ -53,7 +53,7 @@ Limitations
|
|||
-----------
|
||||
|
||||
- Drawing in PHASE 1 and PHASE 3 must not collide or you
|
||||
will get unexpected result.
|
||||
will get unexpected results
|
||||
- The stencil is activated as soon as you perform a StencilPush
|
||||
- The stencil is deactivated as soon as you've correctly popped all the stencil
|
||||
layers
|
||||
|
|
Loading…
Reference in New Issue