Change Subpath to path where necessary

This commit is contained in:
BobLd
2020-04-02 16:39:48 +01:00
committed by Eliot Jones
parent 002d8dc06d
commit 43b40da5d5
15 changed files with 37 additions and 63 deletions

View File

@@ -20,7 +20,9 @@
public TransformationMatrix CurrentTransformationMatrix => GetCurrentState().CurrentTransformationMatrix;
public PdfSubpath CurrentPath { get; set; }
public PdfSubpath CurrentSubpath { get; set; }
public PdfPath CurrentPath { get; set; }
public IColorSpaceContext ColorSpaceContext { get; }
@@ -29,7 +31,7 @@
public TestOperationContext()
{
StateStack.Push(new CurrentGraphicsState());
CurrentPath = new PdfSubpath();
CurrentSubpath = new PdfSubpath();
ColorSpaceContext = new ColorSpaceContext(GetCurrentState, new ResourceStore(new TestPdfTokenScanner(), new TestFontFactory()));
}