コード例 #1
0
 public override void Dispose()
 {
     if (GameController.OnGodot)
     {
         FontData.Dispose();
     }
 }
コード例 #2
0
ファイル: D2DFont.cs プロジェクト: MelloRin/BeatMaker
        public void Dispose()
        {
            foreach (string key in _Ldraw.Keys)
            {
                FontData drawTarget = _Ldraw[key];

                drawTarget.Dispose();
            }

            renderTarget.Dispose();
        }
コード例 #3
0
        protected virtual void Dispose(bool disposing)
        {
            // Check to see if Dispose has already been called.
            if (!_disposed)
            {
                // If disposing equals true, dispose all managed
                // and unmanaged resources.
                if (disposing)
                {
                    //QFontDrawingPimitive.Font.FontData.Dispose();
                    FontData.Dispose();
                }

                // Note disposing has been done.
                _disposed = true;
            }
        }