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