File: misc\GDI\GdiObjectType.cs
Project: ndp\fx\src\System.Drawing.csproj (System.Drawing)
//------------------------------------------------------------------------------
// <copyright file="Brush.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>                                                                
//------------------------------------------------------------------------------
 
#if WINFORMS_NAMESPACE
namespace System.Windows.Forms.Internal
#elif DRAWING_NAMESPACE
namespace System.Drawing.Internal
#else
namespace System.Experimental.Gdi
#endif
{
    /// <devdoc>
    ///    Specifies the the type of a GDI object.
    /// </devdoc>
#if WINFORMS_PUBLIC_GRAPHICS_LIBRARY
    public
#else
    internal
#endif
    enum GdiObjectType
    {   
        Pen                 = 1,
        Brush               = 2,
        DisplayDC           = 3,
        MetafileDC          = 4,
        Palette             = 5,
        Font                = 6,
        Bitmap              = 7,
        Region              = 8,
        Metafile            = 9,
        MemoryDC            = 10,
        ExtendedPen         = 11,
        EnhancedMetafileDC  = 12,
        EnhMetafile         = 13,
        ColorSpace          = 14
 
        /*
        OBJ_PEN       = 1,
        OBJ_BRUSH     = 2,
        OBJ_FONT      = 6,
        OBJ_EXTPEN    = 11,
            
        OBJ_DC        = 3,
        OBJ_METADC    = 4,
        OBJ_MEMDC     = 10,
        OBJ_ENHMETADC = 12,
    */
    }
}