[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / class / System.Drawing / System.Drawing / gdipEnums.cs
blob11deb9ddb456e507df5fe74a92204c2c8bb6c482
1 //
2 // System.Drawing.gdipEnums.cs
3 //
4 // Authors:
5 // Alexandre Pigolkine (pigolkine@gmx.de)
6 // Sebastien Pouliot <sebastien@ximian.com>
7 //
8 // Copyright (C) 2004, 2007 Novell, Inc (http://www.novell.com)
9 //
10 // Permission is hereby granted, free of charge, to any person obtaining
11 // a copy of this software and associated documentation files (the
12 // "Software"), to deal in the Software without restriction, including
13 // without limitation the rights to use, copy, modify, merge, publish,
14 // distribute, sublicense, and/or sell copies of the Software, and to
15 // permit persons to whom the Software is furnished to do so, subject to
16 // the following conditions:
17 //
18 // The above copyright notice and this permission notice shall be
19 // included in all copies or substantial portions of the Software.
20 //
21 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
25 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30 namespace System.Drawing {
32 internal enum Status {
33 Ok = 0,
34 GenericError = 1,
35 InvalidParameter = 2,
36 OutOfMemory = 3,
37 ObjectBusy = 4,
38 InsufficientBuffer = 5,
39 NotImplemented = 6,
40 Win32Error = 7,
41 WrongState = 8,
42 Aborted = 9,
43 FileNotFound = 10,
44 ValueOverflow = 11,
45 AccessDenied = 12,
46 UnknownImageFormat = 13,
47 FontFamilyNotFound = 14,
48 FontStyleNotFound = 15,
49 NotTrueTypeFont = 16,
50 UnsupportedGdiplusVersion = 17,
51 GdiplusNotInitialized = 18,
52 PropertyNotFound = 19,
53 PropertyNotSupported = 20,
54 ProfileNotFound = 21
57 internal enum BrushType {
58 BrushTypeSolidColor = 0,
59 BrushTypeHatchFill = 1,
60 BrushTypeTextureFill = 2,
61 BrushTypePathGradient = 3,
62 BrushTypeLinearGradient = 4
65 internal enum ImageType {
66 Unknown = 0,
67 Bitmap = 1,
68 Metafile = 2
71 internal enum GetSysColorIndex {
72 COLOR_SCROLLBAR = 0,
73 COLOR_BACKGROUND = 1,
74 COLOR_ACTIVECAPTION = 2,
75 COLOR_INACTIVECAPTION = 3,
76 COLOR_MENU = 4,
77 COLOR_WINDOW = 5,
78 COLOR_WINDOWFRAME = 6,
79 COLOR_MENUTEXT = 7,
80 COLOR_WINDOWTEXT = 8,
81 COLOR_CAPTIONTEXT = 9,
82 COLOR_ACTIVEBORDER = 10,
83 COLOR_INACTIVEBORDER = 11,
84 COLOR_APPWORKSPACE = 12,
85 COLOR_HIGHLIGHT = 13,
86 COLOR_HIGHLIGHTTEXT = 14,
87 COLOR_BTNFACE = 15,
88 COLOR_BTNSHADOW = 16,
89 COLOR_GRAYTEXT = 17,
90 COLOR_BTNTEXT = 18,
91 COLOR_INACTIVECAPTIONTEXT = 19,
92 COLOR_BTNHIGHLIGHT = 20,
93 COLOR_3DDKSHADOW = 21,
94 COLOR_3DLIGHT = 22,
95 COLOR_INFOTEXT = 23,
96 COLOR_INFOBK = 24,
98 COLOR_HOTLIGHT = 26,
99 COLOR_GRADIENTACTIVECAPTION = 27,
100 COLOR_GRADIENTINACTIVECAPTION = 28,
101 COLOR_MENUHIGHLIGHT = 29,
102 COLOR_MENUBAR = 30,
104 COLOR_DESKTOP = 1,
105 COLOR_3DFACE = 16,
106 COLOR_3DSHADOW = 16,
107 COLOR_3DHIGHLIGHT = 20,
108 COLOR_3DHILIGHT = 20,
109 COLOR_BTNHILIGHT = 20,
111 COLOR_MAXVALUE = 30,/* Maximum value */