diff --git a/QuestPDF.Examples/CanvasExamples.cs b/QuestPDF.Examples/CanvasExamples.cs index a4f1be8..748e590 100644 --- a/QuestPDF.Examples/CanvasExamples.cs +++ b/QuestPDF.Examples/CanvasExamples.cs @@ -15,8 +15,7 @@ namespace QuestPDF.Examples { RenderingTest .Create() - .PageSize(400, 600) - .ProducePdf() + .ProduceImages() .ShowResults() .Render(container => { @@ -34,7 +33,8 @@ namespace QuestPDF.Examples { Color = SKColor.Parse(Colors.Black), IsStroke = true, - StrokeWidth = 1 + StrokeWidth = 1, + IsAntialias = true }; canvas.DrawRoundRect(0, 0, size.Width, size.Height, 20, 20, paint); diff --git a/QuestPDF/QuestPDF.csproj b/QuestPDF/QuestPDF.csproj index d0fc5f3..e2c64c6 100644 --- a/QuestPDF/QuestPDF.csproj +++ b/QuestPDF/QuestPDF.csproj @@ -4,7 +4,7 @@ MarcinZiabek CodeFlint QuestPDF - 2021.12.0 + 2022.1.0-alpha0 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. $([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/Resources/ReleaseNotes.txt")) 9