Ejemplo n.º 1
0
 public void Fill(Surface <T> surface, Ink <T> ink)
 {
     foreach (VectorI2 point in surface.GetSurfacePoints())
     {
         ink.Paint(surface, 1.0f, point);
     }
 }
Ejemplo n.º 2
0
 public override void Paint(Surface <T> surface, Ink <T> ink, VectorF2 point)
 {
     ink.Paint(surface, 1.0f, point);
 }
Ejemplo n.º 3
0
        public override void Paint(Surface <T> surface, Ink <T> ink, VectorF2 point)
        {
            point -= center;

            grid.ProcessWithIndexs((p, w) => ink.Paint(surface, w, point + p));
        }
Ejemplo n.º 4
0
 public Utensil_InkedBrush(Ink <T> i, Brush <T> b)
 {
     ink   = i;
     brush = b;
 }
Ejemplo n.º 5
0
 public abstract void Paint(Surface <T> surface, Ink <T> ink, VectorF2 point);