♨️
PDF BBQ
Cook up a PDF
Brought to you
by Juan Patten
See The Code
File
New File
New Intro
Open Recent
Rename…
Run Code
Export
Download Code
Download PDF
Print PDF
Help
Shortcuts:
Cmd+Enter
- Run Code
Cmd+P
- Print PDF
Variables:
PDF
- The
PDFLib
module
doc
- A
PDFDocument
instance
fix(n)
- Round
n
to 4 decimals
in2pt(n)
- Inches → Points
pt2in(n)
- Points → Inches
cm2pt(n)
- Centimeters → Points
pt2cm(n)
- Points → Centimeters
mm2pt(n)
- Millimeters → points
pt2mm(n)
- Points → Millimeters
PPI
- Points Per Inch
Notes:
0,0
is the bottom-left.
Resources:
PDF-LIB Documentation
Test message