示例#1
0
        public EpsDocument(Stream stream, PageSize pageSize)
        {
            _w = new FormattingStreamWriter(stream);
            _w.NewLine = "\n";

            _size = pageSize;

            DefaultPointSize = 1;
        }
示例#2
0
 private IntRectangle GetRectangle(PageSize size)
 {
     return new IntRectangle((int)size.X, (int)size.Y, (int)size.Width, (int)size.Height);
 }
示例#3
0
 public EpsDocument(string filename, PageSize pageSize)
     : this(File.Create(filename), pageSize)
 {
     Name = Path.GetFileName(filename);
 }
示例#4
0
 public EpsDocument(string filename, PageSize pageSize)
     : this(File.Create(filename), pageSize)
 {
     Name = Path.GetFileName(filename);
 }