16 references to ApplyGraphicsProperties
System.Private.Windows.GdiPlus (5)
System\Drawing\IGraphicsContextInfo.cs (1)
10(HDC hdc, int saveState) GetHdc(ApplyGraphicsProperties apply, bool alwaysSaveState);
Windows\Win32\Graphics\Gdi\DeviceContextHdcScope.cs (4)
60applyGraphicsState ? ApplyGraphicsProperties.All : ApplyGraphicsProperties.None, 75ApplyGraphicsProperties applyGraphicsState, 113bool needToApplyProperties = applyGraphicsState != ApplyGraphicsProperties.None;
System.Windows.Forms (9)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.ColorOptions.cs (1)
111using DeviceContextHdcScope hdc = _deviceContext.ToHdcScope(ApplyGraphicsProperties.None);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
3488using DeviceContextHdcScope toolStripHDC = new(toolstripGraphics, ApplyGraphicsProperties.Clipping);
System\Windows\Forms\Rendering\TextRenderer.cs (7)
600/// Gets the proper <see cref="ApplyGraphicsProperties"/> flags for the given <paramref name="textFormatFlags"/>. 602internal static ApplyGraphicsProperties GetApplyStateFlags(IDeviceContext deviceContext, TextFormatFlags textFormatFlags) 606return ApplyGraphicsProperties.None; 609var apply = ApplyGraphicsProperties.None; 612apply |= ApplyGraphicsProperties.Clipping; 617apply |= ApplyGraphicsProperties.TranslateTransform;
System.Windows.Forms.Primitives (2)
System\Windows\Forms\DeviceContextExtensions.cs (2)
182ApplyGraphicsProperties applyProperties = ApplyGraphicsProperties.All) => deviceContext switch