mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-08-20 09:57:23 +08:00
Cleanup using statements
This commit is contained in:
parent
da44e1a540
commit
1db3c65de3
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.AcroForms
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Core;
|
||||
using Fields;
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
namespace UglyToad.PdfPig.AcroForms
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UglyToad.PdfPig.AcroForms.Fields;
|
||||
using Fields;
|
||||
|
||||
/// <summary>
|
||||
/// Extensions for AcroForm.
|
||||
|
||||
@ -1,14 +1,12 @@
|
||||
namespace UglyToad.PdfPig.AcroForms
|
||||
{
|
||||
using System.Linq;
|
||||
using Content;
|
||||
using Core;
|
||||
using CrossReference;
|
||||
using Fields;
|
||||
using Filters;
|
||||
using Parser.Parts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Tokenization.Scanner;
|
||||
using Tokens;
|
||||
using Util;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.AcroForms.Fields
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Flags specifying various characteristics of a button type field in an <see cref="AcroFieldBase"/>.
|
||||
/// </summary>
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.AcroForms.Fields
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using Tokens;
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.AcroForms.Fields
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Flags specifying various characteristics of a choice type field in an <see cref="AcroFieldBase"/>.
|
||||
/// </summary>
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.AcroForms.Fields
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Core;
|
||||
using Tokens;
|
||||
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
namespace UglyToad.PdfPig.AcroForms.Fields
|
||||
{
|
||||
using Core;
|
||||
using System;
|
||||
using Tokens;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.AcroForms.Fields
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Core;
|
||||
using Tokens;
|
||||
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.AcroForms.Fields
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Tokens;
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.AcroForms.Fields
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using Tokens;
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.AcroForms.Fields
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Flags specifying various characteristics of a text type field in an <see cref="AcroFieldBase"/>.
|
||||
/// </summary>
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.AcroForms
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Specifies document level characteristics for any signature fields in the document's <see cref="AcroForm"/>.
|
||||
/// </summary>
|
||||
@ -12,6 +10,7 @@
|
||||
/// The document contains at least one signature field.
|
||||
/// </summary>
|
||||
SignaturesExist = 1 << 0,
|
||||
|
||||
/// <summary>
|
||||
/// The document contains signatures which may be invalidated if the file is saved
|
||||
/// in a way which alters its previous content rather than simply appending new content.
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Content;
|
||||
using Core;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Annotations
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Core;
|
||||
using Actions;
|
||||
using Tokens;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Annotations
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
/// <summary>
|
||||
/// A border for a PDF <see cref="Annotation"/> object.
|
||||
/// </summary>
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Annotations
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Specifies characteristics of an annotation in a PDF or FDF document.
|
||||
/// </summary>
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Annotations
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Actions;
|
||||
using Core;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Annotations
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Tokens;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Annotations
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Tokenization.Scanner;
|
||||
using Tokens;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Annotations
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Content;
|
||||
using Core;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Annotations
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Core;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1,10 +1,8 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Core;
|
||||
using Graphics;
|
||||
using Tokens;
|
||||
using UglyToad.PdfPig.Graphics;
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <summary>
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Core;
|
||||
using Filters;
|
||||
using Geometry;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using Outline.Destinations;
|
||||
using Tokens;
|
||||
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Tokens;
|
||||
using Util;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Tokens;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1,8 +1,6 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
|
||||
internal class HeaderVersion
|
||||
internal sealed class HeaderVersion
|
||||
{
|
||||
public double Version { get; }
|
||||
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Annotations;
|
||||
using Core;
|
||||
|
||||
|
||||
@ -1,12 +1,10 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Core;
|
||||
using Graphics.Colors;
|
||||
using Graphics.Core;
|
||||
using UglyToad.PdfPig.Tokens;
|
||||
using Tokens;
|
||||
using XObjects;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Graphics.Colors;
|
||||
using PdfFonts;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Core;
|
||||
using Filters;
|
||||
|
||||
@ -1,9 +1,7 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Graphics;
|
||||
using Tokens;
|
||||
using UglyToad.PdfPig.Graphics;
|
||||
|
||||
/// <summary>
|
||||
/// A marked content element can be used to provide application specific data in the
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using Core;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UglyToad.PdfPig.Tokenization.Scanner;
|
||||
using UglyToad.PdfPig.Tokenization.Scanner;
|
||||
using UglyToad.PdfPig.Tokens;
|
||||
|
||||
namespace UglyToad.PdfPig.Content
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using Annotations;
|
||||
|
||||
@ -4,8 +4,6 @@
|
||||
using Filters;
|
||||
using Graphics;
|
||||
using Graphics.Operations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Tokenization.Scanner;
|
||||
using XObjects;
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using System.Globalization;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1,9 +1,7 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Core;
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// The corresponding named size of the <see cref="Page"/>.
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using Tokens;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Core;
|
||||
using Tokens;
|
||||
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Core;
|
||||
using Filters;
|
||||
using Outline.Destinations;
|
||||
|
||||
@ -1,11 +1,9 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System.Linq;
|
||||
using Core;
|
||||
using Logging;
|
||||
using Parser.Parts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Tokenization.Scanner;
|
||||
using Tokens;
|
||||
using Util;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Core;
|
||||
using Graphics.Colors;
|
||||
|
||||
@ -1,10 +1,8 @@
|
||||
namespace UglyToad.PdfPig.Content
|
||||
{
|
||||
using Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Core;
|
||||
|
||||
/// <summary>
|
||||
/// A word.
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
{
|
||||
using Core;
|
||||
using Filters;
|
||||
using System;
|
||||
using System.Xml.Linq;
|
||||
using Tokenization.Scanner;
|
||||
using Tokens;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.CrossReference
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Core;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.CrossReference
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Core;
|
||||
using Logging;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.CrossReference
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using Core;
|
||||
using Tokens;
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.CrossReference
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using Core;
|
||||
using Tokens;
|
||||
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.CrossReference
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Core;
|
||||
using Tokens;
|
||||
using Util;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Encryption
|
||||
{
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Encryption
|
||||
{
|
||||
using System;
|
||||
using Exceptions;
|
||||
using Tokens;
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Encryption
|
||||
{
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Exceptions;
|
||||
using Tokens;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Encryption
|
||||
{
|
||||
using System;
|
||||
using System.Linq;
|
||||
using Core;
|
||||
using Tokenization.Scanner;
|
||||
using Tokens;
|
||||
|
||||
@ -2,8 +2,6 @@
|
||||
|
||||
namespace UglyToad.PdfPig.Encryption
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Encryption
|
||||
{
|
||||
using System;
|
||||
|
||||
internal static class RC4
|
||||
{
|
||||
public static byte[] Encrypt(ReadOnlySpan<byte> key, ReadOnlySpan<byte> data)
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Encryption
|
||||
{
|
||||
using System;
|
||||
|
||||
[Flags]
|
||||
internal enum UserAccessPermissions : long
|
||||
{
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Exceptions
|
||||
{
|
||||
using System;
|
||||
#if !NET
|
||||
using System.Runtime.Serialization;
|
||||
#endif
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Core;
|
||||
using Tokens;
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using Core;
|
||||
using Tokens;
|
||||
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
|
||||
internal ref struct BitStream
|
||||
{
|
||||
private readonly ReadOnlySpan<byte> data;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using System.IO;
|
||||
using Tokens;
|
||||
using Util;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using System.IO;
|
||||
using IO;
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using Tokens;
|
||||
|
||||
internal class DctDecodeFilter : IFilter
|
||||
|
||||
@ -1,9 +1,7 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Tokens;
|
||||
using UglyToad.PdfPig.Util;
|
||||
using Util;
|
||||
|
||||
internal static class DecodeParameterResolver
|
||||
{
|
||||
|
||||
@ -1,11 +1,9 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Core;
|
||||
using Tokens;
|
||||
using UglyToad.PdfPig.Util;
|
||||
using Util;
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <summary>
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Core;
|
||||
using Parser.Parts;
|
||||
|
||||
@ -1,9 +1,8 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using Fonts;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.IO.Compression;
|
||||
using Fonts;
|
||||
using Tokens;
|
||||
using Util;
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using Tokens;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using Tokenization.Scanner;
|
||||
using Tokens;
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using Tokens;
|
||||
|
||||
internal sealed class Jbig2DecodeFilter : IFilter
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using Tokens;
|
||||
|
||||
internal class JpxDecodeFilter : IFilter
|
||||
|
||||
@ -2,8 +2,6 @@
|
||||
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Tokens;
|
||||
using Util;
|
||||
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using IO;
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Filters
|
||||
{
|
||||
using System;
|
||||
using Tokens;
|
||||
using UglyToad.PdfPig.Core;
|
||||
|
||||
|
||||
@ -1,11 +1,10 @@
|
||||
namespace UglyToad.PdfPig.Functions
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using UglyToad.PdfPig.Core;
|
||||
using UglyToad.PdfPig.Tokens;
|
||||
using Core;
|
||||
using Tokens;
|
||||
|
||||
internal sealed class PdfFunctionType0 : PdfFunction
|
||||
{
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Functions
|
||||
{
|
||||
using System;
|
||||
using UglyToad.PdfPig.Tokens;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Functions
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using UglyToad.PdfPig.Core;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Functions
|
||||
{
|
||||
using System;
|
||||
using System.Linq;
|
||||
using UglyToad.PdfPig.Core;
|
||||
using UglyToad.PdfPig.Functions.Type4;
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Functions.Type4
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Provides the arithmetic operators such as "add" and "sub".
|
||||
/// </summary>
|
||||
|
||||
@ -1,8 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Functions.Type4
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
internal sealed class BitwiseOperators
|
||||
{
|
||||
private BitwiseOperators()
|
||||
|
||||
@ -1,8 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Functions.Type4
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
/// <summary>
|
||||
/// Provides the conditional operators such as "if" and "ifelse".
|
||||
/// </summary>
|
||||
|
||||
@ -1,8 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Functions.Type4
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
internal sealed class ExecutionContext
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Functions.Type4
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
internal sealed class InstructionSequence
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Functions.Type4
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Functions.Type4
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
/// <summary>
|
||||
/// This class provides all the supported operators.
|
||||
/// </summary>
|
||||
|
||||
@ -1,8 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Functions.Type4
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
/// <summary>
|
||||
/// Provides the relational operators such as "eq" and "le".
|
||||
/// </summary>
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Functions.Type4
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -74,9 +74,6 @@
|
||||
|
||||
namespace UglyToad.PdfPig.Geometry.ClipperLibrary
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
internal class Clipper : ClipperBase
|
||||
{
|
||||
//InitOptions that can be passed to the constructor ...
|
||||
|
||||
@ -77,8 +77,6 @@
|
||||
|
||||
namespace UglyToad.PdfPig.Geometry.ClipperLibrary
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
internal class ClipperBase
|
||||
{
|
||||
internal const double Horizontal = -3.4E+38;
|
||||
|
||||
@ -71,8 +71,6 @@
|
||||
*******************************************************************************/
|
||||
namespace UglyToad.PdfPig.Geometry.ClipperLibrary
|
||||
{
|
||||
using System;
|
||||
|
||||
internal class ClipperException : Exception
|
||||
{
|
||||
public ClipperException(string description) : base(description)
|
||||
|
||||
@ -74,8 +74,6 @@
|
||||
|
||||
namespace UglyToad.PdfPig.Geometry.ClipperLibrary
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
internal class ClipperIntersectNode
|
||||
{
|
||||
internal ClipperTEdge Edge1;
|
||||
|
||||
@ -71,9 +71,6 @@
|
||||
*******************************************************************************/
|
||||
namespace UglyToad.PdfPig.Geometry.ClipperLibrary
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
internal class ClipperOffset
|
||||
{
|
||||
private const double DefArcTolerance = 0.25;
|
||||
|
||||
@ -74,8 +74,6 @@
|
||||
|
||||
namespace UglyToad.PdfPig.Geometry.ClipperLibrary
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
internal class ClipperPolyTree : ClipperPolyNode
|
||||
{
|
||||
internal List<ClipperPolyNode> AllPolys = new List<ClipperPolyNode>();
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Geometry
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using ClipperLibrary;
|
||||
using Core;
|
||||
|
||||
@ -1,10 +1,8 @@
|
||||
namespace UglyToad.PdfPig.Geometry
|
||||
{
|
||||
using Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Core;
|
||||
using UglyToad.PdfPig.Geometry.ClipperLibrary;
|
||||
using UglyToad.PdfPig.Graphics;
|
||||
using static UglyToad.PdfPig.Core.PdfSubpath;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Geometry
|
||||
{
|
||||
using System;
|
||||
using Core;
|
||||
|
||||
internal readonly struct PdfVector
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
namespace UglyToad.PdfPig.Geometry
|
||||
{
|
||||
using System;
|
||||
using System.Globalization;
|
||||
|
||||
/// <summary>
|
||||
|
||||
2
src/UglyToad.PdfPig/Globals.cs
Normal file
2
src/UglyToad.PdfPig/Globals.cs
Normal file
@ -0,0 +1,2 @@
|
||||
global using System;
|
||||
global using System.Collections.Generic;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user