mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-20 10:45:22 +08:00
#26 make almost all operators public
This commit is contained in:
@@ -1,29 +1,44 @@
|
||||
namespace UglyToad.PdfPig.Graphics.Operations.ClippingPaths
|
||||
{
|
||||
using System.IO;
|
||||
using Content;
|
||||
|
||||
internal class ModifyClippingByEvenOddIntersect : IGraphicsStateOperation
|
||||
/// <inheritdoc />
|
||||
/// <summary>
|
||||
/// Modify the current clipping path by intersecting it with the current path, using the
|
||||
/// even-odd rule to determine which regions lie inside the clipping path.
|
||||
/// </summary>
|
||||
public class ModifyClippingByEvenOddIntersect : IGraphicsStateOperation
|
||||
{
|
||||
/// <summary>
|
||||
/// The symbol for this operation in a stream.
|
||||
/// </summary>
|
||||
public const string Symbol = "W*";
|
||||
|
||||
/// <summary>
|
||||
/// The instance of the <see cref="ModifyClippingByEvenOddIntersect"/> operation.
|
||||
/// </summary>
|
||||
public static readonly ModifyClippingByEvenOddIntersect Value = new ModifyClippingByEvenOddIntersect();
|
||||
|
||||
/// <inheritdoc />
|
||||
public string Operator => Symbol;
|
||||
|
||||
private ModifyClippingByEvenOddIntersect()
|
||||
{
|
||||
}
|
||||
|
||||
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
|
||||
/// <inheritdoc />
|
||||
public void Run(IOperationContext operationContext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public void Write(Stream stream)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
stream.WriteText(Symbol);
|
||||
stream.WriteNewLine();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string ToString()
|
||||
{
|
||||
return Symbol;
|
||||
|
@@ -1,29 +1,44 @@
|
||||
namespace UglyToad.PdfPig.Graphics.Operations.ClippingPaths
|
||||
{
|
||||
using System.IO;
|
||||
using Content;
|
||||
|
||||
internal class ModifyClippingByNonZeroWindingIntersect : IGraphicsStateOperation
|
||||
/// <inheritdoc />
|
||||
/// <summary>
|
||||
/// Modify the current clipping path by intersecting it with the current path, using the
|
||||
/// nonzero winding number rule to determine which regions lie inside the clipping path.
|
||||
/// </summary>
|
||||
public class ModifyClippingByNonZeroWindingIntersect : IGraphicsStateOperation
|
||||
{
|
||||
/// <summary>
|
||||
/// The symbol for this operation in a stream.
|
||||
/// </summary>
|
||||
public const string Symbol = "W";
|
||||
|
||||
/// <summary>
|
||||
/// The instance of the <see cref="EndPath"/> operation.
|
||||
/// </summary>
|
||||
public static readonly ModifyClippingByNonZeroWindingIntersect Value = new ModifyClippingByNonZeroWindingIntersect();
|
||||
|
||||
/// <inheritdoc />
|
||||
public string Operator => Symbol;
|
||||
|
||||
private ModifyClippingByNonZeroWindingIntersect()
|
||||
{
|
||||
}
|
||||
|
||||
public void Run(IOperationContext operationContext, IResourceStore resourceStore)
|
||||
/// <inheritdoc />
|
||||
public void Run(IOperationContext operationContext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public void Write(Stream stream)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
stream.WriteText(Symbol);
|
||||
stream.WriteNewLine();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string ToString()
|
||||
{
|
||||
return Symbol;
|
||||
|
Reference in New Issue
Block a user