/// <inheritdoc/> public void Render(object dc, IShapeRenderer renderer, IPageContainer container, double dx, double dy) { var flags = renderer.State.DrawShapeState.Flags; renderer.State.DrawShapeState.Flags = ShapeStateFlags.Printable; renderer.Fill(dc, dx, dy, container.Width, container.Height, container.Background); if (container.Template != null) { renderer.DrawPage(dc, container.Template); } renderer.DrawPage(dc, container); renderer.State.DrawShapeState.Flags = flags; }
/// <inheritdoc/> public void Render(object dc, IShapeRenderer renderer, IPageContainer container, double dx, double dy) { renderer.Fill(dc, dx, dy, container.Width, container.Height, container.Background); renderer.Grid(dc, container, 0, 0, container.Width, container.Height); if (container.Template != null) { renderer.DrawPage(dc, container.Template); } }
/// <inheritdoc/> public void Render(object dc, IShapeRenderer renderer, IPageContainer container, double dx, double dy) { renderer.DrawPage(dc, container); if (container.WorkingLayer != null) { renderer.DrawLayer(dc, container.WorkingLayer); } if (container.HelperLayer != null) { renderer.DrawLayer(dc, container.HelperLayer); } }