2 writes to _cachedStylusShape
PresentationFramework (2)
MS\Internal\Ink\EraserBehavior.cs (2)
276_cachedStylusShape = InkCanvas.EraserShape; 332_cachedStylusShape = null;
6 references to _cachedStylusShape
PresentationFramework (6)
MS\Internal\Ink\EraserBehavior.cs (6)
163bool isPointEraserCursorValid = _cachedStylusShape != null; 169&& ( _cachedStylusShape.Width != InkCanvas.EraserShape.Width 170|| _cachedStylusShape.Height != InkCanvas.EraserShape.Height 171|| _cachedStylusShape.Rotation != InkCanvas.EraserShape.Rotation 172|| _cachedStylusShape.GetType() != InkCanvas.EraserShape.GetType()) ) 296_cachedPointEraserCursor = PenCursorManager.GetPointEraserCursor(_cachedStylusShape, xf, dpi.DpiScaleX, dpi.DpiScaleY);