2 writes to _cachedStylusShape
PresentationFramework (2)
MS\Internal\Ink\EraserBehavior.cs (2)
289
_cachedStylusShape
= InkCanvas.EraserShape;
345
_cachedStylusShape
= null;
6 references to _cachedStylusShape
PresentationFramework (6)
MS\Internal\Ink\EraserBehavior.cs (6)
176
bool isPointEraserCursorValid =
_cachedStylusShape
!= null;
182
&& (
_cachedStylusShape
.Width != InkCanvas.EraserShape.Width
183
||
_cachedStylusShape
.Height != InkCanvas.EraserShape.Height
184
||
_cachedStylusShape
.Rotation != InkCanvas.EraserShape.Rotation
185
||
_cachedStylusShape
.GetType() != InkCanvas.EraserShape.GetType()) )
309
_cachedPointEraserCursor = PenCursorManager.GetPointEraserCursor(
_cachedStylusShape
, xf, dpi.DpiScaleX, dpi.DpiScaleY);