Exemplo n.º 1
0
        public void Dispose()
        {
            owner.ReleaseBuffer(this);

            if (disposeOwner)
            {
                owner.Dispose();
            }
            owner   = null;
            surface = null;
        }
Exemplo n.º 2
0
 internal GraphicsBuffer(Graphics surface, GraphicsBufferManager owner)
 {
     this.surface = surface;
     this.owner   = owner;
 }