KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > batik > transcoder > wmf > WMFConstants


1 /*
2
3    Copyright 1999-2003 The Apache Software Foundation
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16
17 */

18
19 package org.apache.batik.transcoder.wmf;
20
21 /**
22  * Contains the definitions of WMF constants.
23  *
24  * @author <a HREF="mailto:luano@asd.ie">Luan O'Carroll</a>
25  * @version $Id: WMFConstants.java,v 1.3 2004/10/30 18:38:06 deweese Exp $
26  */

27 public interface WMFConstants
28 {
29     public static final int META_ALDUS_APM = 0x9ac6cdd7;
30
31     public static final int META_DRAWTEXT = 0x062F;
32     public static final int META_SETBKCOLOR = 0x0201;
33     public static final int META_SETBKMODE = 0x0102;
34     public static final int META_SETMAPMODE = 0x0103;
35     public static final int META_SETROP2 = 0x0104;
36     public static final int META_SETRELABS = 0x0105;
37     public static final int META_SETPOLYFILLMODE = 0x0106;
38     public static final int META_SETSTRETCHBLTMODE = 0x0107;
39     public static final int META_SETTEXTCHAREXTRA = 0x0108;
40     public static final int META_SETTEXTCOLOR = 0x0209;
41     public static final int META_SETTEXTJUSTIFICATION = 0x020A;
42     public static final int META_SETWINDOWORG = 0x020B;
43     public static final int META_SETWINDOWORG_EX = 0x0000; // ???? LOOKS SUSPICIOUS
44
public static final int META_SETWINDOWEXT = 0x020C;
45     public static final int META_SETVIEWPORTORG = 0x020D;
46     public static final int META_SETVIEWPORTEXT = 0x020E;
47     public static final int META_OFFSETWINDOWORG = 0x020F;
48     public static final int META_SCALEWINDOWEXT = 0x0410;
49     public static final int META_OFFSETVIEWPORTORG = 0x0211;
50     public static final int META_SCALEVIEWPORTEXT = 0x0412;
51     public static final int META_LINETO = 0x0213;
52     public static final int META_MOVETO = 0x0214;
53     public static final int META_EXCLUDECLIPRECT = 0x0415;
54     public static final int META_INTERSECTCLIPRECT = 0x0416;
55     public static final int META_ARC = 0x0817;
56     public static final int META_ELLIPSE = 0x0418;
57     public static final int META_FLOODFILL = 0x0419;
58     public static final int META_PIE = 0x081A;
59     public static final int META_RECTANGLE = 0x041B;
60     public static final int META_ROUNDRECT = 0x061C;
61     public static final int META_PATBLT = 0x061D;
62     public static final int META_SAVEDC = 0x001E;
63     public static final int META_SETPIXEL = 0x041F;
64     public static final int META_OFFSETCLIPRGN = 0x0220;
65     public static final int META_TEXTOUT = 0x0521;
66     public static final int META_BITBLT = 0x0922;
67     public static final int META_STRETCHBLT = 0x0B23;
68     public static final int META_POLYGON = 0x0324;
69     public static final int META_POLYLINE = 0x0325;
70     public static final int META_ESCAPE = 0x0626;
71     public static final int META_RESTOREDC = 0x0127;
72     public static final int META_FILLREGION = 0x0228;
73     public static final int META_FRAMEREGION = 0x0429;
74     public static final int META_INVERTREGION = 0x012A;
75     public static final int META_PAINTREGION = 0x012B;
76     public static final int META_SELECTCLIPREGION = 0x012C;
77     public static final int META_SELECTOBJECT = 0x012D;
78     public static final int META_SETTEXTALIGN = 0x012E;
79     public static final int META_CHORD = 0x0830;
80     public static final int META_SETMAPPERFLAGS = 0x0231;
81     public static final int META_EXTTEXTOUT = 0x0a32;
82     public static final int META_SETDIBTODEV = 0x0d33;
83     public static final int META_SELECTPALETTE = 0x0234;
84     public static final int META_REALIZEPALETTE = 0x0035;
85     public static final int META_ANIMATEPALETTE = 0x0436;
86     public static final int META_SETPALENTRIES = 0x0037;
87     public static final int META_POLYPOLYGON = 0x0538;
88     public static final int META_RESIZEPALETTE = 0x0139;
89     public static final int META_DIBBITBLT = 0x0940;
90     public static final int META_DIBSTRETCHBLT = 0x0b41;
91     public static final int META_DIBCREATEPATTERNBRUSH = 0x0142;
92     public static final int META_STRETCHDIB = 0x0f43;
93     public static final int META_EXTFLOODFILL = 0x0548;
94     public static final int META_SETLAYOUT = 0x0149;
95     public static final int META_DELETEOBJECT = 0x01f0;
96     public static final int META_CREATEPALETTE = 0x00f7;
97     public static final int META_CREATEPATTERNBRUSH = 0x01F9;
98     public static final int META_CREATEPENINDIRECT = 0x02FA;
99     public static final int META_CREATEFONTINDIRECT = 0x02FB;
100     public static final int META_CREATEBRUSHINDIRECT = 0x02FC;
101     public static final int META_CREATEREGION = 0x06FF;
102     public static final int META_POLYBEZIER16 = 0x1000;
103     public static final int META_CREATEBRUSH = 0x00F8;
104     public static final int META_CREATEBITMAPINDIRECT = 0x02FD;
105     public static final int META_CREATEBITMAP = 0x06FE;
106
107     public static final int META_OBJ_WHITE_BRUSH = 0;
108     public static final int META_OBJ_LTGRAY_BRUSH = 1;
109     public static final int META_OBJ_GRAY_BRUSH = 2;
110     public static final int META_OBJ_DKGRAY_BRUSH = 3;
111     public static final int META_OBJ_BLACK_BRUSH = 4;
112     public static final int META_OBJ_NULL_BRUSH = 5;
113     public static final int META_OBJ_HOLLOW_BRUSH = 5;
114     public static final int META_OBJ_WHITE_PEN = 6;
115     public static final int META_OBJ_BLACK_PEN = 7;
116     public static final int META_OBJ_NULL_PEN = 8;
117     public static final int META_OBJ_OEM_FIXED_FONT = 10;
118     public static final int META_OBJ_ANSI_FIXED_FONT = 11;
119     public static final int META_OBJ_ANSI_VAR_FONT = 12;
120     public static final int META_OBJ_SYSTEM_FONT = 13;
121     public static final int META_OBJ_DEVICE_DEFAULT_FONT = 14;
122     public static final int META_OBJ_DEFAULT_PALETTE = 15;
123     public static final int META_OBJ_SYSTEM_FIXED_FONT = 16;
124 }
125
Popular Tags