public Graphics MaakBitmapGraphics() { schets.Schoon(); Graphics g = schets.BitmapGraphics; g.SmoothingMode = SmoothingMode.AntiAlias; return(g); }
public void TekenObjecten() { schets.Schoon(); foreach (iTekenObject TekenObject in getekendeObjecten) { TekenObject.Teken(this); } this.Invalidate(); }
public void drawShapes() { schets.Schoon(); foreach (IDrawnShape shape in drawnShapes) { shape.Draw(this); } this.Invalidate(); }
public void TekenBitmapOpnieuw() { schets.Bitmap = new Bitmap(1, 1); schets.VeranderAfmeting(new Size(this.ClientSize.Width, this.ClientSize.Height)); schets.Schoon(); this.Invalidate(); foreach (TekenElement e in tekenElementen) { if (e.tool.ToString() == "tekst") { ((TekstTool)(e.tool)).TekenLetterOpnieuw(this, e.c, e.beginPunt, e.kwast, e.rotatie); } else { (e.tool).Compleet(MaakBitmapGraphics(), e.beginPunt, e.eindPunt, e.kwast); } } }
public void Schoon(object o, EventArgs ea) { schets.Schoon(); this.Invalidate(); }
public void Schoon(object o, EventArgs ea) { schets.Schoon(); this.Invalidate(); figures = new List <Figure>(); }
//EINDE EIGEN CODE public void Schoon(object o, EventArgs ea) { schets.Schoon(); }