public EpsDocument(Stream stream, PageSize pageSize) { _w = new FormattingStreamWriter(stream); _w.NewLine = "\n"; _size = pageSize; DefaultPointSize = 1; }
private IntRectangle GetRectangle(PageSize size) { return new IntRectangle((int)size.X, (int)size.Y, (int)size.Width, (int)size.Height); }
public EpsDocument(string filename, PageSize pageSize) : this(File.Create(filename), pageSize) { Name = Path.GetFileName(filename); }