public override void Paint(Graphics g) { base.Paint(g); //Rectangle rectangle = WorkArea; //g.SetClip(WorkArea); g.Transform = ViewMatrix; //draw the ghost and ants on top of the diagram if (Ants != null) { Ants.Paint(g); } if (Ghost != null) { Ghost.Paint(g); } if (Tracker != null) { Tracker.Paint(g); } g.Transform.Reset(); //g.PageUnit = GraphicsUnit.Pixel; //g.PageScale = 1.0F; }
public override void Paint(Graphics g) { base.Paint(g); //draw the ghost and ants on top of the diagram if (Ants != null) { Ants.Paint(g); } if (Ghost != null) { Ghost.Paint(g); } if (Tracker != null) { Tracker.Paint(g); } }