示例#1
0
        public void Dispose()
        {
            owner.ReleaseBuffer(this);

            if (disposeOwner)
            {
                owner.Dispose();
            }
            owner   = null;
            surface = null;
        }
示例#2
0
 internal GraphicsBuffer(Graphics surface, GraphicsBufferManager owner)
 {
     this.surface = surface;
     this.owner   = owner;
 }