public static void DrawPoint(this Graphics g, Color color, Point point)
{
g.FillEllipse(new SolidBrush(color), point.X, point.Y, 0.1f, 0.1f);
}
public static void DrawPoint(this Graphics g, Color color, Point point, float d)
{
g.FillEllipse(new SolidBrush(color), point.X - d / 2, point.Y - d / 2, 0.1f + d, 0.1f + d);
}
public static void DrawPoint(this Graphics g, Color color, PointF point)
{
g.FillEllipse(new SolidBrush(color), point.X, point.Y, 0.1f,0.1f);
}
public static void DrawPoint(this Graphics g, Color color, PointF point, float d)
{
g.FillEllipse(new SolidBrush(color), point.X - d / 2, point.Y - d / 2, 0.1f + d, 0.1f + d);
}
public static void DrawPoint(this Graphics g, Color color, float x, float y)
{
g.FillEllipse(new SolidBrush(color), x, y, 0.1f,0.1f);
}
public static void DrawPoint(this Graphics g, Color color, float x, float y, float d)
{
g.FillEllipse(new SolidBrush(color), x - d / 2, y - d / 2, 0.1f + d, 0.1f + d);
}
public static void DrawPoint(this Graphics g, Color color, int x, int y)
{
g.FillEllipse(new SolidBrush(color), x, y, 0.1f, 0.1f);
}
public static void DrawPoint(this Graphics g, Color color, int x, int y, float d)
{
g.FillEllipse(new SolidBrush(color), x - d / 2, y - d / 2, 0.1f + d, 0.1f + d);
}
public static void DrawPoints(this Graphics g, Color color, Point[] points)
{
foreach (Point point in points)
DrawPoint(g, color, point);
}
public static void DrawPoints(this Graphics g, Color color, Point[] points, float d)
{
foreach (Point point in points)
DrawPoint(g, color, point, d);
}
public static void DrawPoints(this Graphics g, Color color, PointF[] points)
{
foreach (PointF point in points)
DrawPoint(g, color, point);
}
public static void DrawPoints(this Graphics g, Color color, PointF[] points, float d)
{
foreach (PointF point in points)
DrawPoint(g, color, point d);
}