Beispiel #1
0
        public void Flush()
        {
            if (this.hdc != IntPtr.Zero)
            {
                this.surface.Flush(this.hdc);
            }

            OnFlushEvent?.Invoke(this.hdc, this.surface.GetBitmap());
        }
Beispiel #2
0
 /// <summary>
 /// Flushes any cached state in the target.
 /// </summary>
 public void Flush()
 {
     Trace.TraceInformation($"Flushing target #{Id}");
     OnFlushEvent?.Invoke(this, EventArgs.Empty);
 }