10 writes to _currentState
Microsoft.Maui.Graphics (10)
AbstractCanvas.cs (10)
40 _currentState = stateService.CreateNew(this); 50 _currentState = null; 213 _currentState = null; 216 _currentState = _stateStack.Pop(); 223 _currentState = null; 226 _currentState = _stateService.CreateNew(this); 241 _currentState = null; 246 _currentState = _stateStack.Pop(); 251 _currentState = _stateService.CreateNew(this); 264 _currentState = _stateService.CreateCopy(previousState);
30 references to _currentState
Microsoft.Maui.Graphics (30)
AbstractCanvas.cs (30)
43 protected TState CurrentState => _currentState; 47 if (_currentState != null) 49 _currentState.Dispose(); 86 var scale = _currentState.Scale; 94 _currentState.StrokeSize = size; 108 if (!ReferenceEquals(value, _currentState.StrokeDashPattern)) 110 _currentState.StrokeDashPattern = value; 121 _currentState.StrokeDashOffset = dashOffset; 129 PlatformSetStrokeDashPattern(_currentState.StrokeDashPattern, _currentState.StrokeDashOffset, _currentState.StrokeSize); 210 if (_currentState != null) 212 _currentState.Dispose(); 217 StateRestored(_currentState); 220 if (_currentState != null) 222 _currentState.Dispose(); 238 if (_currentState != null) 240 _currentState.Dispose(); 247 StateRestored(_currentState); 262 var previousState = _currentState; 272 var transform = _currentState.Transform; 276 _currentState.Transform = transform; 285 var transform = _currentState.Transform; 287 _currentState.Transform = transform; 294 var transform = _currentState.Transform; 296 _currentState.Transform = transform; 303 var transform = _currentState.Transform; 305 _currentState.Transform = transform; 312 _currentState.Transform = transform * _currentState.Transform;