/// <summary> /// Cambia la fuente del texto /// </summary> /// <param name="font">Fuente del sistema</param> public void changeFont(Font font) { if (D3dFont != null && !D3dFont.Disposed) { D3dFont.Dispose(); } D3dFont = new Microsoft.DirectX.Direct3D.Font(D3DDevice.Instance.Device, font); }
public void Dispose() { D3dFont.Dispose(); }