From 8c25d2c44422271abd44b4f915f690ae18b302df Mon Sep 17 00:00:00 2001 From: DomCR Date: Mon, 4 Nov 2024 11:54:15 +0100 Subject: [PATCH 1/3] init --- src/ACadSharp.Pdf/Core/IO/PdfPen.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ACadSharp.Pdf/Core/IO/PdfPen.cs b/src/ACadSharp.Pdf/Core/IO/PdfPen.cs index 0c72590..8087663 100644 --- a/src/ACadSharp.Pdf/Core/IO/PdfPen.cs +++ b/src/ACadSharp.Pdf/Core/IO/PdfPen.cs @@ -45,6 +45,8 @@ public void DrawEntity(Entity entity, Transform transform) case Circle circle: this.drawCircle(circle, transform); break; + case Insert insert: + throw new System.NotImplementedException(); case Line line: this.drawLine(line, transform); break; From e9820f7a63c36dac431137e01cc5617e53c39258 Mon Sep 17 00:00:00 2001 From: DomCR Date: Wed, 20 Nov 2024 12:31:59 +0100 Subject: [PATCH 2/3] insert --- src/ACadSharp.Pdf/Core/IO/PdfPen.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ACadSharp.Pdf/Core/IO/PdfPen.cs b/src/ACadSharp.Pdf/Core/IO/PdfPen.cs index d792cc8..6f47db1 100644 --- a/src/ACadSharp.Pdf/Core/IO/PdfPen.cs +++ b/src/ACadSharp.Pdf/Core/IO/PdfPen.cs @@ -52,6 +52,9 @@ public void DrawEntity(Entity entity, Transform transform) case Ellipse ellipse: this.drawEllpise(ellipse, transform); break; + case Insert insert: + this.drawInsert(insert, transform); + break; case Line line: this.drawLine(line, transform); break; @@ -153,6 +156,11 @@ private void drawEllpise(Ellipse ellipse, Transform transform) this.appendPath(vertices); } + private void drawInsert(Insert insert, Transform transform) + { + + } + private void drawLine(Line line, Transform transform) { this.appendXY(transform.ApplyTransform(line.StartPoint), PdfKey.BeginPath); From f5d37185e16de122fdad511e64ec29ec4fbe7667 Mon Sep 17 00:00:00 2001 From: DomCR Date: Wed, 20 Nov 2024 12:38:26 +0100 Subject: [PATCH 3/3] submodule --- src/ACadSharp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ACadSharp b/src/ACadSharp index 9e433c1..2a3504f 160000 --- a/src/ACadSharp +++ b/src/ACadSharp @@ -1 +1 @@ -Subproject commit 9e433c18d93b0d9bc541fd8bf1c651b50a346963 +Subproject commit 2a3504f6a69d1495551ab4dd71464f1e46b73426