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