add empty run methods to operations we are not implementing yet

This commit is contained in:
Eliot Jones
2017-11-30 23:47:24 +00:00
parent 1de60d7479
commit 90b67586dc
25 changed files with 145 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
namespace UglyToad.Pdf.Graphics.Operations.ClippingPaths
{
using Content;
internal class ModifyClippingByEvenOddIntersect : IGraphicsStateOperation
{
public const string Symbol = "W*";
@@ -12,6 +14,10 @@
{
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return Symbol;

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations.ClippingPaths
{
using Content;
internal class ModifyClippingByNonZeroWindingIntersect : IGraphicsStateOperation
{
public const string Symbol = "W";
@@ -12,6 +14,10 @@
{
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return Symbol;

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class CloseAndStrokePath : IGraphicsStateOperation
{
public const string Symbol = "s";
@@ -12,6 +14,10 @@
{
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return Symbol;

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class CloseFillPathEvenOddRuleAndStroke : IGraphicsStateOperation
{
public const string Symbol = "b*";
@@ -12,6 +14,10 @@
{
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return Symbol;

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class CloseFillPathNonZeroWindingAndStroke : IGraphicsStateOperation
{
public const string Symbol = "b";
@@ -12,6 +14,10 @@
{
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return Symbol;

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class EndPath : IGraphicsStateOperation
{
public const string Symbol = "n";
@@ -12,6 +14,10 @@
{
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return Symbol;

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class FillPathEvenOddRule : IGraphicsStateOperation
{
public const string Symbol = "f*";
@@ -12,6 +14,10 @@
{
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return Symbol;

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class FillPathEvenOddRuleAndStroke : IGraphicsStateOperation
{
public const string Symbol = "B*";
@@ -12,6 +14,10 @@
{
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return Symbol;

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class FillPathNonZeroWinding : IGraphicsStateOperation
{
public const string Symbol = "f";
@@ -12,6 +14,10 @@
{
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return Symbol;

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class FillPathNonZeroWindingAndStroke : IGraphicsStateOperation
{
public const string Symbol = "B";
@@ -12,6 +14,10 @@
{
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return Symbol;

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class FillPathNonZeroWindingCompatibility : IGraphicsStateOperation
{
public const string Symbol = "F";
@@ -12,6 +14,10 @@
{
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return Symbol;

View File

@@ -1,5 +1,6 @@
namespace UglyToad.Pdf.Graphics.Operations.PathConstruction
{
using Content;
using Geometry;
internal class AppendDualControlPointBezierCurve : IGraphicsStateOperation
@@ -21,6 +22,10 @@
End = new PdfPoint(x3, y3);
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return $"{ControlPoint1.X} {ControlPoint1.Y} {ControlPoint2.X} {ControlPoint2.Y} {End.X} {End.Y} {Symbol}";

View File

@@ -1,5 +1,6 @@
namespace UglyToad.Pdf.Graphics.Operations.PathConstruction
{
using Content;
using Geometry;
internal class AppendEndControlPointBezierCurve : IGraphicsStateOperation
@@ -18,6 +19,10 @@
End = new PdfPoint(x3, y3);
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return $"{ControlPoint1.X} {ControlPoint1.Y} {End.X} {End.Y} {Symbol}";

View File

@@ -1,5 +1,6 @@
namespace UglyToad.Pdf.Graphics.Operations.PathConstruction
{
using Content;
using Geometry;
internal class AppendRectangle : IGraphicsStateOperation
@@ -22,6 +23,10 @@
Height = height;
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return $"{LowerLeft.X} {LowerLeft.Y} {Width} {Height} {Symbol}";

View File

@@ -1,5 +1,6 @@
namespace UglyToad.Pdf.Graphics.Operations.PathConstruction
{
using Content;
using Geometry;
internal class AppendStartControlPointBezierCurve : IGraphicsStateOperation
@@ -18,6 +19,10 @@
End = new PdfPoint(x3, y3);
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return $"{ControlPoint2.X} {ControlPoint2.Y} {End.X} {End.Y} {Symbol}";

View File

@@ -1,5 +1,6 @@
namespace UglyToad.Pdf.Graphics.Operations.PathConstruction
{
using Content;
using Geometry;
internal class AppendStraightLineSegment : IGraphicsStateOperation
@@ -15,6 +16,10 @@
End = new PdfPoint(x, y);
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return $"{End.X} {End.Y} {Symbol}";

View File

@@ -1,5 +1,6 @@
namespace UglyToad.Pdf.Graphics.Operations.PathConstruction
{
using Content;
using Geometry;
internal class BeginNewSubpath : IGraphicsStateOperation
@@ -15,6 +16,10 @@
Point = new PdfPoint(x, y);
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return $"{Point.X} {Point.Y} {Symbol}";

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations.PathConstruction
{
using Content;
internal class CloseSubpath : IGraphicsStateOperation
{
public const string Symbol = "h";
@@ -12,6 +14,10 @@
{
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return Symbol;

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class SetNonStrokeColorDeviceCmyk : IGraphicsStateOperation
{
public const string Symbol = "K";
@@ -22,6 +24,10 @@
K = k;
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return $"{C} {M} {Y} {K} {Symbol}";

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class SetNonStrokeColorDeviceGray : IGraphicsStateOperation
{
public const string Symbol = "g";
@@ -13,6 +15,10 @@
Gray = gray;
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return $"{Gray} {Symbol}";

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class SetNonStrokeColorDeviceRgb : IGraphicsStateOperation
{
public const string Symbol = "rg";
@@ -19,6 +21,10 @@
B = b;
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return $"{R} {G} {B} {Symbol}";

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class SetStrokeColorDeviceCmyk : IGraphicsStateOperation
{
public const string Symbol = "K";
@@ -22,6 +24,10 @@
K = k;
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return $"{C} {M} {Y} {K} {Symbol}";

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class SetStrokeColorDeviceGray : IGraphicsStateOperation
{
public const string Symbol = "G";
@@ -13,6 +15,10 @@
Gray = gray;
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return $"{Gray} {Symbol}";

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class SetStrokeColorDeviceRgb : IGraphicsStateOperation
{
public const string Symbol = "RG";
@@ -19,6 +21,10 @@
B = b;
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return $"{R} {G} {B} {Symbol}";

View File

@@ -1,5 +1,7 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Content;
internal class StrokePath : IGraphicsStateOperation
{
public const string Symbol = "S";
@@ -12,6 +14,10 @@
{
}
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
{
}
public override string ToString()
{
return Symbol;