| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- //
- // System.Drawing.gdipEnums.cs
- //
- // Author:
- // Alexandre Pigolkine ([email protected])
- //
- using System;
- namespace System.Drawing {
- /// <summary>
- /// GDI+ API enumerations
- /// </summary>
-
- #region Status
- internal enum Status {
- Ok = 0,
- GenericError = 1,
- InvalidParameter = 2,
- OutOfMemory = 3,
- ObjectBusy = 4,
- InsufficientBuffer = 5,
- NotImplemented = 6,
- Win32Error = 7,
- WrongState = 8,
- Aborted = 9,
- FileNotFound = 10,
- ValueOverflow = 11,
- AccessDenied = 12,
- UnknownImageFormat = 13,
- FontFamilyNotFound = 14,
- FontStyleNotFound = 15,
- NotTrueTypeFont = 16,
- UnsupportedGdiplusVersion = 17,
- GdiplusNotInitialized = 18,
- PropertyNotFound = 19,
- PropertyNotSupported = 20,
- ProfileNotFound = 21
- }
- #endregion
-
- #region Unit
- internal enum Unit
- {
- UnitWorld = 0,
- UnitDisplay = 1,
- UnitPixel = 2,
- UnitPoint = 3,
- UnitInch = 4,
- UnitDocument = 5,
- UnitMillimeter = 6
- };
- #endregion
- #region BrushType
- internal enum BrushType {
- BrushTypeSolidColor = 0,
- BrushTypeHatchFill = 1,
- BrushTypeTextureFill = 2,
- BrushTypePathGradient = 3,
- BrushTypeLinearGradient = 4
- }
- #endregion
-
- }
|