public override void OnPaint(FluidPaintEventArgs e)
 {
     if (InternalEnableDoubleBuffer && dBufferRequired)
     {
         DoubleBuffer buffer = ensureDBuffer();
         buffer.Paint(e, this, base.OnPaint, alpha);
     }
     else
     {
         base.OnPaint(e);
     }
 }
Exemple #2
0
 public override void OnPaint(FluidPaintEventArgs e)
 {
     if (inTransition)
     {
         DoubleBuffer buffer = EnsureDBuffer();
         buffer.Paint(e, this, base.OnPaint, 255);
     }
     else
     {
         base.OnPaint(e);
     }
 }