public ProgramOptions(IImageOptions imageOptions, IFontOptions fontOptions, IFilterOptions filterOptions, string filePath) { ImageOptions = imageOptions; FontOptions = fontOptions; FilterOptions = filterOptions; FilePath = filePath; }
public RectangleLayout(ILayouter layouter, ILayoutDrawer drawer, IImageOptions imageOptions, IFontOptions fontOptions) { this.layouter = layouter; this.drawer = drawer; this.imageOptions = imageOptions; this.fontOptions = fontOptions; bitmap = new Bitmap(imageOptions.Width, imageOptions.Height); graphics = Graphics.FromImage(bitmap); }