File: wx.CompositionMode.enumeration.txt

package info (click to toggle)
wxpython4.0 4.0.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 211,112 kB
  • sloc: cpp: 888,355; python: 223,130; makefile: 52,087; ansic: 45,780; sh: 3,012; xml: 1,534; perl: 264
file content (45 lines) | stat: -rw-r--r-- 3,074 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2018 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc



.. _wx.CompositionMode:

==========================================================================================================================================
|phoenix_title|  **wx.CompositionMode**
==========================================================================================================================================



The `CompositionMode` enumeration provides the following values:



================================================================================ ================================================================================
**Description**                                                                  **Value**
================================================================================ ================================================================================
``wx.COMPOSITION_INVALID``                                                       Indicates invalid or unsupported composition mode.                      
``wx.COMPOSITION_CLEAR``                                                         `R`  = 0                      
``wx.COMPOSITION_SOURCE``                                                        `R`  = S                      
``wx.COMPOSITION_OVER``                                                          `R`  = `S`  + `D*`(1 - `Sa`)                      
``wx.COMPOSITION_IN``                                                            `R`  =  `S*` `Da` `                        
``wx.COMPOSITION_OUT``                                                           `R`  = `S*`(1 - `Da`)                      
``wx.COMPOSITION_ATOP``                                                          `R`  =  `S*` `Da` `+`   `D*`(1 - `Sa`)                      
``wx.COMPOSITION_DEST``                                                          `R`  = `D`, essentially a noop                      
``wx.COMPOSITION_DEST_OVER``                                                     `R`  = `S*`(1 - `Da`) + `D`                       
``wx.COMPOSITION_DEST_IN``                                                       `R`  =  `D*` `Sa` `                        
``wx.COMPOSITION_DEST_OUT``                                                      `R`  = `D*`(1 - `Sa`)                      
``wx.COMPOSITION_DEST_ATOP``                                                     `R`  = `S*`(1 - `Da`) +  `D*` `Sa` `                        
``wx.COMPOSITION_XOR``                                                           `R`  = `S*`(1 - `Da`) + `D*`(1 - `Sa`)                      
``wx.COMPOSITION_ADD``                                                           `R`  = `S`  + `D`                       
================================================================================ ================================================================================

|