7 changed files with 109 additions and 7 deletions
@ -0,0 +1,31 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
using System; |
||||||
|
using ICSharpCode.Reporting.Interfaces.Export; |
||||||
|
using ICSharpCode.Reporting.PageBuilder.ExportColumns; |
||||||
|
|
||||||
|
namespace ICSharpCode.Reporting.Items |
||||||
|
{ |
||||||
|
/// <summary>
|
||||||
|
/// Description of BaseCircleItem.
|
||||||
|
/// </summary>
|
||||||
|
public class BaseCircleItem:BaseGraphics |
||||||
|
{ |
||||||
|
public BaseCircleItem() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public override IExportColumn CreateExportColumn() |
||||||
|
{ |
||||||
|
var ex = new ExportCircle(); |
||||||
|
ex.Location = Location; |
||||||
|
ex.ForeColor = ForeColor; |
||||||
|
ex.BackColor = BackColor; |
||||||
|
ex.Size = Size; |
||||||
|
ex.DesiredSize = Size; |
||||||
|
ex.Thickness = Thickness; |
||||||
|
ex.DashStyle = DashStyle; |
||||||
|
return ex; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,38 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
using System; |
||||||
|
using System.Drawing.Drawing2D; |
||||||
|
using ICSharpCode.Reporting.Exporter.Visitors; |
||||||
|
|
||||||
|
namespace ICSharpCode.Reporting.PageBuilder.ExportColumns |
||||||
|
{ |
||||||
|
/// <summary>
|
||||||
|
/// Description of ExportCircle.
|
||||||
|
/// </summary>
|
||||||
|
public class ExportCircle:ExportColumn,IExportGraphics,IAcceptor |
||||||
|
{ |
||||||
|
public ExportCircle() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
public void Accept(IVisitor visitor) |
||||||
|
{ |
||||||
|
visitor.Visit(this); |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
public override ICSharpCode.Reporting.Arrange.IMeasurementStrategy MeasurementStrategy() |
||||||
|
{ |
||||||
|
throw new NotImplementedException(); |
||||||
|
} |
||||||
|
|
||||||
|
public int Thickness {get;set;} |
||||||
|
|
||||||
|
public DashStyle DashStyle {get;set;} |
||||||
|
|
||||||
|
public LineCap StartLineCap {get;set;} |
||||||
|
|
||||||
|
public LineCap EndLineCap {get;set;} |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue