Blame mono/Assistance/Assistant.cs

ebcc4f
using System;
ebcc4f
using System.Collections.Generic;
ebcc4f
ebcc4f
namespace Assistance {
72b17c
	public class Assistant: ActivePoint.Owner {
b82ef4
		public static readonly Drawing.Pen pen = new Drawing.Pen("gray");
ebcc4f
589f9a
		public Assistant(Document document): base(document)
589f9a
			{ document.assistants.Add(this); }
ebcc4f
72b17c
		public override void remove() {
72b17c
			base.remove();
726e8a
			document.assistants.Remove(this);
ebcc4f
		}
ebcc4f
72b17c
		public override void bringToFront() {
726e8a
			document.assistants.Remove(this);
726e8a
			document.assistants.Add(this);
ebcc4f
		}
ebcc4f
b82ef4
		public virtual void draw(Cairo.Context context) { }
ebcc4f
38ad69
		public virtual void getGuidelines(List<guideline> outGuidelines, Point target) { }</guideline>
ebcc4f
	}
ebcc4f
}