We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2fa789e + 3de62ee commit c826420Copy full SHA for c826420
PdfSharpCore/Drawing/XGraphics.cs
@@ -516,6 +516,8 @@ public sealed class XGraphics : IDisposable
516
_gsStack = new GraphicsStateStack(this);
517
#if CORE
518
TargetContext = XGraphicTargetContext.CORE;
519
+#endif
520
+#if CORE || NET5_0
521
_drawGraphics = false;
522
if (form.Owner != null)
523
_renderer = new XGraphicsPdfRenderer(form, this);
0 commit comments