/// <summary> /// Draws a <see cref="InvariantEllipsePrimitive"/>. Must be overridden and implemented. /// </summary> protected abstract void DrawInvariantEllipsePrimitive(InvariantEllipsePrimitive ellipse);
/// <summary> /// Draws a <see cref="InvariantEllipsePrimitive"/>. /// </summary> protected override void DrawInvariantEllipsePrimitive(InvariantEllipsePrimitive ellipse) { DrawEllipsePrimitive(Surface.FinalBuffer, _pen, ellipse, Dpi); }
/// <summary> /// Draws a <see cref="InvariantEllipsePrimitive"/>. /// </summary> protected override void DrawInvariantEllipsePrimitive(InvariantEllipsePrimitive ellipse) { InternalDrawEllipsePrimitive(ellipse); }
internal SnapPointGraphic() { _circle = new InvariantEllipsePrimitive(); _circle.Color = Color.Tomato; _circle.InvariantTopLeft = new PointF(-6, -6); _circle.InvariantBottomRight = new PointF(6, 6); this.Graphics.Add(_circle); }