module Cpdfdraw:sig
..end
Draw on PDFs
type
colspec =
| |
NoCol |
| |
RGB of |
| |
Grey of |
| |
CYMK of |
type
justification =
| |
Left |
| |
Right |
| |
Centre |
type
drawops =
| |
Rect of |
| |
Bezier of |
| |
Bezier23 of |
| |
Bezier13 of |
| |
To of |
| |
Line of |
| |
ClosePath |
| |
SetFill of |
| |
SetStroke of |
| |
SetLineThickness of |
| |
SetLineCap of |
| |
SetLineJoin of |
| |
SetMiterLimit of |
| |
SetDashPattern of |
| |
Matrix of |
| |
Qq of |
| |
Fill |
| |
FillEvenOdd |
| |
Stroke |
| |
FillStroke |
| |
FillStrokeEvenOdd |
| |
Clip |
| |
ClipEvenOdd |
| |
FormXObject of |
| |
Use of |
| |
ImageXObject of |
| |
Image of |
| |
NewPage |
| |
Opacity of |
| |
SOpacity of |
| |
FontPack of |
| |
Font of |
| |
TextSection of |
| |
Text of |
| |
SpecialText of |
| |
Para of |
| |
Newline |
| |
Leading of |
| |
CharSpace of |
| |
WordSpace of |
| |
TextScale of |
| |
RenderMode of |
| |
Rise of |
| |
Tag of |
| |
EndTag |
| |
STag of |
| |
EndSTag |
| |
BeginArtifact |
| |
EndArtifact |
| |
Namespace of |
| |
EltInfo of |
| |
EndEltInfo of |
| |
AutoTag of |
val do_add_artifacts : bool Stdlib.ref
When this is set, any untagged material is tagged as an artifact.
val rolemap : string Stdlib.ref
Set the role map.
val draw : struct_tree:bool ->
fast:bool ->
underneath:bool ->
filename:string ->
bates:int ->
batespad:int option -> int list -> Pdf.t -> drawops list -> Pdf.t
Calling draw struct_tree fast underneath filename bates batespad range pdf drawops
draws on
top of all the pages in the range.