Browse Source

remove unused file

pull/14/head
peterforstmeier 15 years ago
parent
commit
5dccb4d1ca
  1. 1
      src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/ICSharpCode.Reports.Core.csproj
  2. 35
      src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/Exporter/Decorators/RectangleDecorator.cs
  3. 13
      src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/Printing/Graphics/RectangleShape.cs

1
src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/ICSharpCode.Reports.Core.csproj

@ -137,7 +137,6 @@ @@ -137,7 +137,6 @@
<Compile Include="Project\Exceptions\WrongColumnException.cs" />
<Compile Include="Project\Exceptions\WrongSectionException.cs" />
<Compile Include="Project\Exporter\Converters\GroupedTableConverter.cs" />
<Compile Include="Project\Exporter\Decorators\RectangleDecorator.cs" />
<Compile Include="Project\Expressions\SimpleExpressionEvaluator\Compilation\Functions\ReportingService\FieldReference.cs" />
<Compile Include="Project\Exporter\BasePager.cs" />
<Compile Include="Project\Exporter\Converters\BaseConverter.cs" />

35
src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/Exporter/Decorators/RectangleDecorator.cs

@ -1,35 +0,0 @@ @@ -1,35 +0,0 @@
/*
* Created by SharpDevelop.
* User: Peter Forstmeier
* Date: 30.12.2010
* Time: 19:41
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using ICSharpCode.Reports.Core.Exporter;
namespace ICSharpCode.Reports.Core.Exporter
{
/// <summary>
/// Description of RectangleDecorator.
/// </summary>
public class aaRectangleDecorator: GraphicStyleDecorator
{
public aaRectangleDecorator(BaseShape shape):base(shape)
{
}
private int corner;
public int CornerRadius {
get {
return corner;
}
set { corner = value; }
}
}
}

13
src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/Printing/Graphics/RectangleShape.cs

@ -78,18 +78,21 @@ namespace ICSharpCode.Reports.Core { @@ -78,18 +78,21 @@ namespace ICSharpCode.Reports.Core {
if (contentByte == null) {
throw new ArgumentNullException("contentByte");
}
if (line == null) {
throw new ArgumentNullException("line");
}
if (style == null) {
throw new ArgumentNullException("style");
}
if (rectangle == null) {
throw new ArgumentNullException("rectangle");
}
float t;
if (line == null) {
t = 1;
} else {
t = line.Thickness;
}
BaseShape.SetupShape(contentByte,style);
contentByte.SetLineWidth(UnitConverter.FromPixel(line.Thickness).Point);
contentByte.SetLineWidth(UnitConverter.FromPixel(t).Point);
contentByte.RoundRectangle(rectangle.Left, rectangle.Bottom, rectangle.Width, rectangle.Height, CornerRadius);
BaseShape.FinishShape(contentByte);
}

Loading…
Cancel
Save