public DesignService(IWorkspaceService workspaceService, CompilerService compilerService, Report report) { this.WorkspaceService = workspaceService; this.compilerService = compilerService; controlViewFactory = new ControlViewFactory(this); PixbufRepository = new PixbufRepository() { Report = report }; IsDesign = true; Zoom = 1; Render = true; Report = report; }
public ImageView(MonoReports.Model.Controls.Image image, SectionView parentSection, PixbufRepository pixbufRepository) : base(image) { this.ParentSection = parentSection; AbsoluteBound = new Rectangle(parentSection.AbsoluteDrawingStartPoint.X + image.Location.X, parentSection.AbsoluteDrawingStartPoint.Y + image.Location.Y, image.Width, image.Height); ImageRenderer = new ImageRenderer() { PixbufRepository = pixbufRepository, DesignMode = true }; }