1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" />
7    <title>LogicOp</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../../nw/gfx/res/Overview.html">res</a>::<a href="../../../../nw/gfx/res/ResBlendOperation/Overview.html">ResBlendOperation</a>::LogicOp</CODE> Enumerated Type</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum LogicOp;
15</pre>
16    </div>
17    <h2>Value</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22            <th>Value</th>
23            <td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27          <th><CODE>LOGICOP_CLEAR</CODE></th>
28          <td>Clears all bit values to 0.</td>
29        </tr>
30        <tr>
31          <th><CODE>LOGICOP_AND</CODE></th>
32          <td>Takes the logical AND of the source color and destination color.</td>
33        </tr>
34        <tr>
35          <th><CODE>LOGICOP_AND_REVERSE</CODE></th>
36          <td>Takes the logical product of the source color and inverse bit values of the destination color.</td>
37        </tr>
38        <tr>
39          <th><CODE>LOGICOP_COPY</CODE></th>
40          <td>Takes the bit values of the source color.</td>
41        </tr>
42        <tr>
43          <th><CODE>LOGICOP_SET</CODE></th>
44          <td>Clears all bit values to 1.</td>
45        </tr>
46        <tr>
47          <th><CODE>LOGICOP_COPY_INVERTED</CODE></th>
48          <td>Takes the inverted bit values of the source color.</td>
49        </tr>
50        <tr>
51          <th><CODE>LOGICOP_NOOP</CODE></th>
52          <td>Takes the bit values of the destination color.</td>
53        </tr>
54        <tr>
55          <th><CODE>LOGICOP_INVERT</CODE></th>
56          <td>Takes the inverted values of the destination color.</td>
57        </tr>
58        <tr>
59          <th><CODE>LOGICOP_NAND</CODE></th>
60          <td>Takes the inverse bit values of the logical AND of the source color and destination color.</td>
61        </tr>
62        <tr>
63          <th><CODE>LOGICOP_OR</CODE></th>
64          <td>Takes the logical OR of the source color and destination color.</td>
65        </tr>
66        <tr>
67          <th><CODE>LOGICOP_NOR</CODE></th>
68          <td>Takes the inverse bit values of the logical OR of the source color and destination color.</td>
69        </tr>
70        <tr>
71          <th><CODE>LOGICOP_XOR</CODE></th>
72          <td>Takes the exclusive OR of the source color and destination color.</td>
73        </tr>
74        <tr>
75          <th><CODE>LOGICOP_EQUIV</CODE></th>
76          <td>Takes the inverse bit values of the exclusvie OR of the source color and destination color.</td>
77        </tr>
78        <tr>
79          <th><CODE>LOGICOP_AND_INVERTED</CODE></th>
80          <td>Takes the logical AND of the inverse bit values of the source color and the destination color.</td>
81        </tr>
82        <tr>
83          <th><CODE>LOGICOP_OR_REVERSE</CODE></th>
84          <td>Takes the logical sum of the source color and inverse bit values of the destination color.</td>
85        </tr>
86        <tr>
87          <th><CODE>LOGICOP_OR_INVERTED</CODE></th>
88          <td>Takes the logical OR of the inverse bit values of the source color and the destination color.</td>
89        </tr>
90      </table> </div>
91    <h2>Description</h2>
92    <div class="section">
93      <p>Defines the calculation method to be used in logical operations.</p>
94    </div>
95  <hr><p>CONFIDENTIAL</p></body>
96</html>
97