Size: 629
Comment:
|
Size: 724
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 21: | Line 21: |
# end page SkDocument # close SkDocument # flush SkFileWStream # dispose SkFileWStream |
Skia
Skia is an open source 2D graphics library which provides common APIs that work across a variety of hardware and software platforms.
It's able to generate PDF files with version 1.4. Header and tail for a PDF file is usually %PDF-1.4 and %EOF.
SkiaSharp
Library wrapper to use Skia in a dotnet core environment,
Toggle line numbers
1 dotnet add package SkiaSharp --version 1.57.1
2 dotnet add package Avalonia.Skia.Linux.Natives --version 1.57.1.4
3
4 # Install in docker container
5 apt-get install -y libfontconfig1
6
7 # end page SkDocument
8 # close SkDocument
9 # flush SkFileWStream
10 # dispose SkFileWStream
11