Incorporated Duncan's comments. Modifications related to GetException method.
[mono.git] / mcs / class / System.Drawing / System.Drawing / gdipEnums.cs
1 //
2 // System.Drawing.gdipEnums.cs
3 //
4 // Author: 
5 // Alexandre Pigolkine (pigolkine@gmx.de)
6 //
7 using System;
8
9 namespace System.Drawing {
10         /// <summary>
11         /// GDI+ API enumerations
12         /// </summary>
13         
14         #region Status
15         internal enum Status {
16                 Ok = 0,
17                 GenericError = 1,
18                 InvalidParameter = 2,
19                 OutOfMemory = 3,
20                 ObjectBusy = 4,
21                 InsufficientBuffer = 5,
22                 NotImplemented = 6,
23                 Win32Error = 7,
24                 WrongState = 8,
25                 Aborted = 9,
26                 FileNotFound = 10,
27                 ValueOverflow = 11,
28                 AccessDenied = 12,
29                 UnknownImageFormat = 13,
30                 FontFamilyNotFound = 14,
31                 FontStyleNotFound = 15,
32                 NotTrueTypeFont = 16,
33                 UnsupportedGdiplusVersion = 17,
34                 GdiplusNotInitialized = 18,
35                 PropertyNotFound = 19,
36                 PropertyNotSupported = 20,
37                 ProfileNotFound = 21
38         }
39         #endregion
40         
41         #region Unit
42         internal enum Unit
43         {
44                 UnitWorld               = 0,
45                 UnitDisplay     = 1,
46                 UnitPixel               = 2,
47                 UnitPoint               = 3,
48                 UnitInch                = 4,
49                 UnitDocument    = 5,
50                 UnitMillimeter  = 6
51         };
52         #endregion
53
54         #region BrushType
55         internal enum BrushType {
56                 BrushTypeSolidColor = 0,
57                 BrushTypeHatchFill = 1,
58                 BrushTypeTextureFill = 2,
59                 BrushTypePathGradient = 3,
60                 BrushTypeLinearGradient = 4
61         }
62         #endregion
63         
64 }