첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
728x90
반응형
728x170
using System.Drawing;

#region 포인트 그리기 - DrawPoint(graphics, brush, point)

/// <summary>
/// 포인트 그리기
/// </summary>
/// <param name="graphics">그래픽스</param>
/// <param name="brush">브러시</param>
/// <param name="point">포인트</param>
public void DrawPoint(Graphics graphics, Brush brush, PointF point)
{
    const float radius = 3;

    RectangleF rectangle = new RectangleF
    (
        point.X - radius,
        point.Y - radius,
        2 * radius,
        2 * radius
    );

    graphics.FillEllipse(brush, rectangle);
}

#endregion
728x90
반응형
그리드형(광고전용)
Posted by icodebroker

댓글을 달아 주세요