File: ROPConstants.java

package info (click to toggle)
libpixie-java 1%3A1.1.6-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,076 kB
  • sloc: java: 10,175; xml: 1,579; makefile: 13
file content (61 lines) | stat: -rw-r--r-- 3,464 bytes parent folder | download | duplicates (3)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
 * This program is free software; you can redistribute it and/or modify it under the
 * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
 * Foundation.
 *
 * You should have received a copy of the GNU Lesser General Public License along with this
 * program; if not, you can obtain a copy at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
 * or from the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU Lesser General Public License for more details.
 *
 * Copyright (c) 2000 - 2009 Pentaho Corporation, Object Refinery Limited and Contributors.  All rights reserved.
 */

package org.pentaho.reporting.libraries.pixie.wmf;

/**
 * The ROPConstants were defined in the Windows-API and are used do define the various
 * RasterOperations (ROP). We don't support RasterOperations...
 */
public interface ROPConstants
{
  public static final int SRCCOPY = 0x00CC0020; /* dest = source                   */
  public static final int SRCPAINT = 0x00EE0086; /* dest = source OR dest           */
  public static final int SRCAND = 0x008800C6; /* dest = source AND dest          */
  public static final int SRCINVERT = 0x00660046; /* dest = source XOR dest          */
  public static final int SRCERASE = 0x00440328; /* dest = source AND (NOT dest )   */
  public static final int NOTSRCCOPY = 0x00330008; /* dest = (NOT source)             */
  public static final int NOTSRCERASE = 0x001100A6; /* dest = (NOT src) AND (NOT dest) */
  public static final int MERGECOPY = 0x00C000CA; /* dest = (source AND pattern)     */
  public static final int MERGEPAINT = 0x00BB0226; /* dest = (NOT source) OR dest     */
  public static final int PATCOPY = 0x00F00021; /* dest = pattern                  */
  public static final int PATPAINT = 0x00FB0A09; /* dest = DPSnoo                   */
  public static final int PATINVERT = 0x005A0049; /* dest = pattern XOR dest         */
  public static final int DSTINVERT = 0x00550009; /* dest = (NOT dest)               */
  public static final int BLACKNESS = 0x00000042; /* dest = BLACK                    */
  public static final int WHITENESS = 0x00FF0062; /* dest = WHITE                    */

  /* Binary raster ops */
  public static final int R2_BLACK = 1;   /*  0       */
  public static final int R2_NOTMERGEPEN = 2;   /* DPon     */
  public static final int R2_MASKNOTPEN = 3;   /* DPna     */
  public static final int R2_NOTCOPYPEN = 4;   /* PN       */
  public static final int R2_MASKPENNOT = 5;   /* PDna     */
  public static final int R2_NOT = 6;   /* Dn       */
  public static final int R2_XORPEN = 7;   /* DPx      */
  public static final int R2_NOTMASKPEN = 8;   /* DPan     */
  public static final int R2_MASKPEN = 9;   /* DPa      */
  public static final int R2_NOTXORPEN = 10;  /* DPxn     */
  public static final int R2_NOP = 11;  /* D        */
  public static final int R2_MERGENOTPEN = 12;  /* DPno     */
  public static final int R2_COPYPEN = 13;  /* P        */
  public static final int R2_MERGEPENNOT = 14;  /* PDno     */
  public static final int R2_MERGEPEN = 15;  /* DPo      */
  public static final int R2_WHITE = 16;  /*  1       */
  public static final int R2_LAST = 16;

}