11 references to Save
System.Drawing.Common.Tests (8)
mono\System.Drawing\GraphicsTests.cs (4)
284
state_default = g.
Save
(); // Default
297
state_modified = g.
Save
(); // Modified
1098
GraphicsState gs1 = g.
Save
();
1118
GraphicsState gs2 = g.
Save
();
System\Drawing\Graphics_GetContextTests.Core.cs (2)
104
GraphicsState state = graphics.
Save
();
124
GraphicsState state = graphics.
Save
();
System\Drawing\Graphics_GetContextTests.cs (2)
106
GraphicsState state = graphics.
Save
();
127
GraphicsState state = graphics.
Save
();
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
3638
GraphicsState graphicsState = g.
Save
();
System\Windows\Forms\Rendering\PaintEventArgs.cs (1)
122
=> _savedGraphicsState = _event.Flags.HasFlag(DrawingEventFlags.SaveState) ? graphics.
Save
() : default;
System.Windows.Forms.Primitives (1)
System\Windows\Forms\GraphicsStateScope.cs (1)
19
_state = graphics.
Save
();