| <html> |
| <head> |
| <title>Enum CompositeOp</title> |
| <style>h3 { font-size:13pt; font-weight:bold; margin-top:3pt; margin-bottom:1pt; } |
| p, dt, dd, pre { font-size:11pt; margin-top:3pt; margin-bottom:1pt; } |
| table.lightbg { background-color:#eeeeff; } |
| table.subtitle { margin-top:6pt; margin-bottom:6pt; } |
| td { font-size:11pt; } |
| td.title { font-family: Arial; font-size:19pt; font-weight:bold; text-align:center; background-color:#ccccff; line-height:30pt; } |
| td.subtitle { font-family: Arial; font-size:13pt; background-color:#ccccff; line-height:20pt; } |
| td.imdetail { width:100%; background-color:#eeeeff; } |
| a.membertitle { font-size:12pt; font-weight:bold; line-height:18pt; } |
| td.imsum_left { width:30%; } |
| td.imsum_right { width:70%; } |
| td.navimain, a.navimain { text-align:center; font-family: Arial; font-size:12pt; font-weight:bold; } |
| td.navimainself { text-align:center; font-family: Arial; font-size:12pt; font-weight:bold; color:#ffffff; background-color:#2222ad; } |
| td.navimainnone { text-align:center; font-family: Arial; font-size:12pt; } |
| td.attrtitle { font-weight:bold; background-color:#eeeeff; } |
| td.navisub, a.navisub, td.attrtitle, td.attrvalue { text-align:center; font-family: Arial; font-size:9pt; font-variant:small-caps; } |
| td.navimain, td.navisub { padding-left:7pt; padding-right:7pt; } |
| p.raise { font-size:11pt; margin-top:0pt; text-align:right; padding-right:5pt; } |
| a.navimain, a.navisub { color:#000000; } |
| .dt { font-weight:bold; } |
| .namechain { font-size:13pt; font-weight:bold; margin-top:3pt; margin-bottom:6pt; } |
| .tpl { font-size:13pt; margin-top:3pt; margin-bottom:6pt; } |
| </style> |
| |
| <meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"> |
| </head> |
| <body bgcolor="#ffffff"> |
| <a name="_top_"> </a> |
| <table border="0" cellpadding="3" class="lightbg"> |
| <tr> |
| <td class="navimain"><a href="com/sun/star/module-ix.html" class="navimain">Overview</a></td> |
| <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> |
| <td class="navimain"><a href="CompositeOp-xref.html" class="navimain">Use</a></td> |
| <td class="navimainnone">Devguide</td> |
| <td class="navimain"><a href="index-files/index-1.html" class="navimain">Index</a></td> |
| </tr> |
| </table> |
| <table border="0" cellpadding="0"> |
| <tr> |
| <td class="navisub"><a href="#Values" class="navisub">Values</a></td> |
| <td class="navisub"><a href="#ValueDetails" class="navisub">Values' Details</a></td> |
| </tr> |
| </table> |
| <hr> |
| <table border="0" width="100%" cellpadding="5" cellspacing="3" style="margin-bottom:6pt;"> |
| <tr> |
| <td><p class="namechain"><a href="module-ix.html" class="namechain">::</a> </p> |
| </td> |
| </tr> |
| <tr> |
| <td class="title">enum CompositeOp</td> |
| </tr> |
| <tr> |
| <td/></tr> |
| </table> |
| <hr> |
| <a name="Values"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> |
| <tr> |
| <td class="subtitle" colspan="2">Values</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#clear">clear</a></td> |
| <td class="imsum_right"> Clear destination. Fa = Fb = 0.</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#src">src</a></td> |
| <td class="imsum_right"> Copy source as-is to destination. Fa = 1, Fb = 0.</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#dst">dst</a></td> |
| <td class="imsum_right"> Leave destination as-is. Fa = 0, Fb = 1.</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#over">over</a></td> |
| <td class="imsum_right"> Copy source over destination. Fa = 1, Fb = 1-Aa.</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#under">under</a></td> |
| <td class="imsum_right"> Copy source under destination. Fa = 1-Ab, Fb = 1.</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#inside">inside</a></td> |
| <td class="imsum_right"> Copy source to destination, but limited to where the destination is. Fa = Ab, Fb = 0.</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#inReverse">inReverse</a></td> |
| <td class="imsum_right"> Leave destination as is, but only where source was. Fa = 0, Fb = Aa.</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#outside">outside</a></td> |
| <td class="imsum_right"> Copy source to destination, but limited to where destination is not. Fa = 1-Ab, Fb = 0.</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#outReverse">outReverse</a></td> |
| <td class="imsum_right"> Leave destination as is, but only where source has not been. Fa = 0, Fb = 1-Aa.</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#atop">atop</a></td> |
| <td class="imsum_right"> Copy source over destination, but only where destination is. Keep destination. Fa = Ab, Fb = 1-Aa.</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#atopReverse">atopReverse</a></td> |
| <td class="imsum_right"> Copy destination over source, but only where source is. Keep source. Fa = 1-Ab, Fb = Aa.</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#xor">xor</a></td> |
| <td class="imsum_right"> Take only parts where either source or destination, but not both are. Fa = 1-Ab, Fb = 1-Aa.</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#add">add</a></td> |
| <td class="imsum_right"> simply add contributions of both source and destination. The |
| resulting color values are limited to the permissible color |
| range, and clipped to the maximal value, if exceeded. Fa = 1, Fb = 1. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#saturate">saturate</a></td> |
| <td class="imsum_right"> Fa = min(1,(1-Ab)/Aa), Fb = 1</td> |
| </tr> |
| </table> |
| <a name="ValueDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> |
| <tr> |
| <td class="subtitle">Values' Details</td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="clear" class="membertitle">clear</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>clear</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Clear destination. Fa = Fb = 0.</dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="src" class="membertitle">src</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>src</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Copy source as-is to destination. Fa = 1, Fb = 0.</dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="dst" class="membertitle">dst</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>dst</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Leave destination as-is. Fa = 0, Fb = 1.</dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="over" class="membertitle">over</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>over</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Copy source over destination. Fa = 1, Fb = 1-Aa.</dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="under" class="membertitle">under</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>under</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Copy source under destination. Fa = 1-Ab, Fb = 1.</dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="inside" class="membertitle">inside</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>inside</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Copy source to destination, but limited to where the destination is. Fa = Ab, Fb = 0.</dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="inReverse" class="membertitle">inReverse</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>inReverse</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Leave destination as is, but only where source was. Fa = 0, Fb = Aa.</dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="outside" class="membertitle">outside</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>outside</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Copy source to destination, but limited to where destination is not. Fa = 1-Ab, Fb = 0.</dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="outReverse" class="membertitle">outReverse</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>outReverse</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Leave destination as is, but only where source has not been. Fa = 0, Fb = 1-Aa.</dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="atop" class="membertitle">atop</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>atop</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Copy source over destination, but only where destination is. Keep destination. Fa = Ab, Fb = 1-Aa.</dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="atopReverse" class="membertitle">atopReverse</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>atopReverse</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Copy destination over source, but only where source is. Keep source. Fa = 1-Ab, Fb = Aa.</dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="xor" class="membertitle">xor</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>xor</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Take only parts where either source or destination, but not both are. Fa = 1-Ab, Fb = 1-Aa.</dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="add" class="membertitle">add</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>add</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> simply add contributions of both source and destination. The |
| resulting color values are limited to the permissible color |
| range, and clipped to the maximal value, if exceeded. Fa = 1, Fb = 1. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="saturate" class="membertitle">saturate</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><b>saturate</b>,<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Fa = min(1,(1-Ab)/Aa), Fb = 1</dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
| <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2003 Sun Microsystems, Inc.</p> |
| </body> |
| |
| </html> |