5 references to SaveState
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (2)
11812(paintBackground ? DrawingEventFlags.SaveState : default) | DrawingEventFlags.GraphicsStateUnclean); 11819paintBackground ? DrawingEventFlags.SaveState : default);
System\Windows\Forms\Control.PrintPaintEventArgs.cs (1)
15: base(dc, clipRect, DrawingEventFlags.SaveState)
System\Windows\Forms\Rendering\PaintEventArgs.cs (2)
107if (_event.Flags.HasFlag(DrawingEventFlags.SaveState) && graphics is not null) 122=> _savedGraphicsState = _event.Flags.HasFlag(DrawingEventFlags.SaveState) ? graphics.Save() : default;