public virtual void Dispose() { ReleaseDeviceResources(); TextLayouts?.Dispose(); TextFormats?.Dispose(); Direct2DFactory?.Dispose(); DWriteFactory?.Dispose(); WICFactory?.Dispose(); }
public virtual void Dispose() { ReleaseDeviceResources(); TextLayouts?.Dispose(); TextFormats?.Dispose(); Direct2DFactory?.Dispose(); DWriteFactory?.Dispose(); WICFactory?.Dispose(); }