SHARE
TWEET

Untitled

selnomeria Oct 13th, 2019 82 in 99 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.                 // zzz  NT7 was slightly different: https://pastebin.com/wKL99TSx
  3.                 // Vertical gradient fill from mid to high
  4.                 Brush curBrush = PlotBrushes[0].Get(b);
  5.                 bool posit = p2.Y < p4.Y;
  6.                 double dist = (minC - maxC) / 3;
  7.                 brush = Pro9Library.Methods.BrushToGradient(RenderTarget, curBrush, 1.0, curBrush, 0.2, (float)(p1.X + p2.X)/2, (float)(posit ? maxC + dist : minC - dist),  (float)(p1.X + p2.X)/2, (float)(posit ? zero : zero));
  8.                 Pro9Library.Methods.fillGeometry(RenderTarget, brush, p1.ToVector2(),new[] { p1.ToVector2(), p2.ToVector2(), p4.ToVector2(), p3.ToVector2() });
  9.                 brush.Dispose();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top