File: System\Drawing\ApplyGraphicsProperties.cs
Web Access
Project: src\src\System.Private.Windows.Core\src\System.Private.Windows.Core.csproj (System.Private.Windows.Core)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Drawing;
 
#pragma warning disable format
 
/// <summary>
///  Enumeration defining the different Graphics properties to apply to an <see cref="HDC"/> when creating it
///  from a Graphics object.
/// </summary>
[Flags]
internal enum ApplyGraphicsProperties
{
    None                = 0x0000_0000,
 
    /// <summary>
    ///  Apply clipping region.
    /// </summary>
    Clipping            = 0x0000_0001,
 
    /// <summary>
    ///  Apply coordinate transformation.
    /// </summary>
    TranslateTransform  = 0x0000_0002,
 
    /// <summary>
    ///  Apply all supported Graphics properties.
    /// </summary>
    All                 = Clipping | TranslateTransform
}
 
#pragma warning restore format