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