Browse Source

2022.1.0-alpha0

MarcinZiabek 4 years ago
parent
commit
02e25b193d
2 changed files with 4 additions and 4 deletions
  1. 3 3
      QuestPDF.Examples/CanvasExamples.cs
  2. 1 1
      QuestPDF/QuestPDF.csproj

+ 3 - 3
QuestPDF.Examples/CanvasExamples.cs

@@ -15,8 +15,7 @@ namespace QuestPDF.Examples
         {
         {
             RenderingTest
             RenderingTest
                 .Create()
                 .Create()
-                .PageSize(400, 600)
-                .ProducePdf()
+                .ProduceImages()
                 .ShowResults()
                 .ShowResults()
                 .Render(container =>
                 .Render(container =>
                 {
                 {
@@ -34,7 +33,8 @@ namespace QuestPDF.Examples
                                 {
                                 {
                                     Color = SKColor.Parse(Colors.Black),
                                     Color = SKColor.Parse(Colors.Black),
                                     IsStroke = true,
                                     IsStroke = true,
-                                    StrokeWidth = 1
+                                    StrokeWidth = 1,
+                                    IsAntialias = true
                                 };
                                 };
                                 
                                 
                                 canvas.DrawRoundRect(0, 0, size.Width, size.Height, 20, 20, paint);
                                 canvas.DrawRoundRect(0, 0, size.Width, size.Height, 20, 20, paint);

+ 1 - 1
QuestPDF/QuestPDF.csproj

@@ -4,7 +4,7 @@
         <Authors>MarcinZiabek</Authors>
         <Authors>MarcinZiabek</Authors>
         <Company>CodeFlint</Company>
         <Company>CodeFlint</Company>
         <PackageId>QuestPDF</PackageId>
         <PackageId>QuestPDF</PackageId>
-        <Version>2021.12.0</Version>
+        <Version>2022.1.0-alpha0</Version>
         <PackageDescription>QuestPDF is an open-source, modern and battle-tested library that can help you with generating PDF documents by offering friendly, discoverable and predictable C# fluent API.</PackageDescription>
         <PackageDescription>QuestPDF is an open-source, modern and battle-tested library that can help you with generating PDF documents by offering friendly, discoverable and predictable C# fluent API.</PackageDescription>
         <PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/Resources/ReleaseNotes.txt"))</PackageReleaseNotes>
         <PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/Resources/ReleaseNotes.txt"))</PackageReleaseNotes>
         <LangVersion>9</LangVersion>
         <LangVersion>9</LangVersion>