2 writes to _cachedStylusShape
PresentationFramework (2)
src\Framework\MS\Internal\Ink\EraserBehavior.cs (2)
291
_cachedStylusShape
= InkCanvas.EraserShape;
347
_cachedStylusShape
= null;
6 references to _cachedStylusShape
PresentationFramework (6)
src\Framework\MS\Internal\Ink\EraserBehavior.cs (6)
178
bool isPointEraserCursorValid =
_cachedStylusShape
!= null;
184
&& (
_cachedStylusShape
.Width != InkCanvas.EraserShape.Width
185
||
_cachedStylusShape
.Height != InkCanvas.EraserShape.Height
186
||
_cachedStylusShape
.Rotation != InkCanvas.EraserShape.Rotation
187
||
_cachedStylusShape
.GetType() != InkCanvas.EraserShape.GetType()) )
311
_cachedPointEraserCursor = PenCursorManager.GetPointEraserCursor(
_cachedStylusShape
, xf, dpi.DpiScaleX, dpi.DpiScaleY);