Exemple #1
0
 public virtual void Dispose()
 {
     _d2dFactory?.Dispose();
     DWriteFactory?.Dispose();
     WicFactory?.Dispose();
     DeviceContext?.Dispose();
     _d2dDevice?.Dispose();
 }
Exemple #2
0
        public virtual void Dispose()
        {
            _d2dFactory?.Dispose();
            DWriteFactory?.Dispose();
            WicFactory.Dispose();
            WicFormatConverter.Dispose();

            WhiteBrush.Dispose();
            RedBrush.Dispose();
            DeviceContext?.Dispose();
            _d2dDevice?.Dispose();
        }
 public virtual void Dispose()
 {
     D2DFactory?.Dispose();
     WicFactory?.Dispose();
     DwFactory?.Dispose();
 }