// Token: 0x06006D68 RID: 28008 RVA: 0x001F6988 File Offset: 0x001F4B88
 protected override Cursor GetCurrentCursor()
 {
     if (InkCanvasEditingMode.EraseByPoint == this._cachedEraseMode)
     {
         if (this._cachedPointEraserCursor == null)
         {
             this._cachedStylusShape = base.InkCanvas.EraserShape;
             Matrix tranform = base.GetElementTransformMatrix();
             if (!tranform.IsIdentity)
             {
                 if (tranform.HasInverse)
                 {
                     tranform.OffsetX = 0.0;
                     tranform.OffsetY = 0.0;
                 }
                 else
                 {
                     tranform = Matrix.Identity;
                 }
             }
             DpiScale dpi = base.InkCanvas.GetDpi();
             this._cachedPointEraserCursor = PenCursorManager.GetPointEraserCursor(this._cachedStylusShape, tranform, dpi.DpiScaleX, dpi.DpiScaleY);
         }
         return(this._cachedPointEraserCursor);
     }
     return(PenCursorManager.GetStrokeEraserCursor());
 }
        /// <summary>
        /// Get eraser cursor.
        /// </summary>
        /// <returns></returns>
        protected override Cursor GetCurrentCursor()
        {
            if (InkCanvasEditingMode.EraseByPoint == _cachedEraseMode)
            {
                if (_cachedPointEraserCursor == null)
                {
                    _cachedStylusShape = InkCanvas.EraserShape;

                    // NTRAID-WINDOWS#1430638-2006/01/04-WAYNEZEN,
                    // The eraser cursor should respect the InkCanvas' Transform properties as the pen tip.
                    Matrix xf = GetElementTransformMatrix();
                    if (!xf.IsIdentity)
                    {
                        // Zero the offsets if the element's transform in invertable.
                        // Otherwise fallback the matrix to the identity.
                        if (xf.HasInverse)
                        {
                            xf.OffsetX = 0;
                            xf.OffsetY = 0;
                        }
                        else
                        {
                            xf = Matrix.Identity;
                        }
                    }
                    _cachedPointEraserCursor = PenCursorManager.GetPointEraserCursor(_cachedStylusShape, xf);
                }

                return(_cachedPointEraserCursor);
            }
            else
            {
                return(PenCursorManager.GetStrokeEraserCursor());
            }
        }