mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-14 02:44:58 +08:00
Add Clipping helper class. Does nothing for the moment
This commit is contained in:
23
src/UglyToad.PdfPig/Geometry/Clipping.cs
Normal file
23
src/UglyToad.PdfPig/Geometry/Clipping.cs
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
namespace UglyToad.PdfPig.Geometry
|
||||||
|
{
|
||||||
|
using UglyToad.PdfPig.Graphics;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public static class Clipping
|
||||||
|
{
|
||||||
|
const double factor = 10_000.0;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// DOES NOTHING
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="clipping"></param>
|
||||||
|
/// <param name="subject"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static PdfPath Clip(this PdfPath clipping, PdfPath subject)
|
||||||
|
{
|
||||||
|
return subject;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user