arrange operations into folders in line with grouping from the specification and start creating a context to mutate through operations.

This commit is contained in:
Eliot Jones
2017-11-26 22:19:42 +00:00
parent b0e53efbfe
commit ed634e86fe
55 changed files with 831 additions and 144 deletions

View File

@@ -0,0 +1,26 @@
namespace UglyToad.Pdf.Graphics.Operations.TextState
{
using Cos;
internal class SetFontSize : IGraphicsStateOperation
{
public const string Symbol = "Tf";
public string Operator => Symbol;
public CosName Font { get; }
public decimal Size { get; }
public SetFontSize(CosName font, decimal size)
{
Font = font;
Size = size;
}
public override string ToString()
{
return $"{Font} {Size} {Symbol}";
}
}
}