start adding support for reading and applying XObjects

This commit is contained in:
Eliot Jones
2018-04-21 16:24:37 +01:00
parent 787bcd1cd2
commit b6585292fb
4 changed files with 60 additions and 1 deletions

View File

@@ -163,7 +163,11 @@ namespace UglyToad.PdfPig.Graphics
{
if (operands[offset] is NameToken name)
{
arguments.Add(name.Data);
arguments.Add(name);
}
else if (operands[offset] is StringToken s)
{
arguments.Add(NameToken.Create(s.Data));
}
else
{