package camlpdf
Read, write and modify PDF files
Install
Dune Dependency
Authors
Maintainers
Sources
v2.8.tar.gz
md5=878c5f0e655bc101eb4c43c04843b8af
sha512=a1e47003876494932a4a584f8e20f9d99085044cedf418997be97198b28f49ec026e97530b691afc2722e021d19e8327a1f0155e7e231262a362d722683ac1c4
doc/camlpdf/Pdffun/index.html
Module Pdffun
Parsing and Evaluating PDF Functions.
type calculator =
| If of calculator list
| IfElse of calculator list * calculator list
| Bool of bool
| Float of float
| Int of int32
| Abs
| Add
| Atan
| Ceiling
| Cos
| Cvi
| Cvr
| Div
| Exp
| Floor
| Idiv
| Ln
| Log
| Mod
| Mul
| Neg
| Round
| Sin
| Sqrt
| Sub
| Truncate
| And
| Bitshift
| Eq
| Ge
| Gt
| Le
| Lt
| Ne
| Not
| Or
| Xor
| Copy
| Exch
| Pop
| Dup
| Index
| Roll
and pdf_fun_kind =
| Interpolation of interpolation
| Stitching of stitching
| Sampled of sampled
| Calculator of calculator list
The type of functions.
val parse_function : Pdf.t -> Pdf.pdfobject -> t
Parse a function given a document and function object.
Raised from eval_function
(see below) in the case of inputs which don't match the evaluation
val eval_function : t -> float list -> float list
Evaluate a function given a list of inputs.
val pdfobject_of_function : Pdf.t -> t -> Pdf.pdfobject
Flatten a function to its PDF representation
val print_function : t -> unit
Print a function to Standard Output. For debug only.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>