delete old code and start an approach for parsing fonts and page content streams

This commit is contained in:
Eliot Jones
2017-11-22 18:41:34 +00:00
parent 4b91300466
commit b0e53efbfe
96 changed files with 2307 additions and 1904 deletions

View File

@@ -0,0 +1,30 @@
namespace UglyToad.Pdf.Graphics.Operations
{
using Geometry;
internal class AppendRectangle : IGraphicsStateOperation
{
public const string Symbol = "re";
public string Operator => Symbol;
public PdfPoint LowerLeft { get; }
public decimal Width { get; }
public decimal Height { get; }
public AppendRectangle(decimal x, decimal y, decimal width, decimal height)
{
LowerLeft = new PdfPoint(x, y);
Width = width;
Height = height;
}
public override string ToString()
{
return $"{LowerLeft.X} {LowerLeft.Y} {Width} {Height} {Symbol}";
}
}
}