コード例 #1
0
 public void RenderVariationMarker(Vector2f center, float diameter, bool active)
 {
     float radius = diameter / 2;
     Pen pen;
     if (active)
         pen = new Pen(RawColor.Blue, 2);
     else
         pen = new Pen(RawColor.Blue);
     Graphics.DrawCircle(pen, center, radius);
 }
コード例 #2
0
 public abstract void DrawRectangle(Pen pen, RectangleF rect);
コード例 #3
0
 public abstract void DrawPolygon(Pen pen, params Vector2f[] points);
コード例 #4
0
 public abstract void DrawLine(Pen pen, Vector2f p1, Vector2f p2);
コード例 #5
0
 public abstract void DrawCircle(Pen pen, Vector2f center, float radius);