//
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
//
namespace ImageSharp.Drawing.Shapes.PolygonClipper
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Runtime.CompilerServices;
using Paths;
///
/// OutRec: contains a path in the clipping solution. Edges in the AEL will
/// carry a pointer to an OutRec when they are part of the clipping solution.
///
internal class OutRec
{
#pragma warning disable SA1401 // Field must be private
///
/// The source path
///
internal IPath SourcePath;
///
/// The index
///
internal int Idx;
///
/// The is hole
///
internal bool IsHole;
///
/// The is open
///
internal bool IsOpen;
///
/// The first left
///
internal OutRec FirstLeft;
///
/// The PTS
///
internal OutPt Pts;
///
/// The bottom pt
///
internal OutPt BottomPt;
///
/// The poly node
///
internal PolyNode PolyNode;
#pragma warning restore SA1401 // Field must be private
}
}