Expose more functions in Cpdfdrawcontrol

This commit is contained in:
John Whitington 2023-09-24 16:45:07 +01:00
parent 5a8c137b1b
commit 964f742edd
2 changed files with 28 additions and 0 deletions

View File

@ -254,3 +254,24 @@ let addopacity f =
let addsopacity f =
addop (Cpdfdraw.SOpacity f)
let addleading f =
addop (Cpdfdraw.Leading f)
let addcharspace f =
addop (Cpdfdraw.CharSpace f)
let addwordspace f =
addop (Cpdfdraw.WordSpace f)
let addtextscale f =
addop (Cpdfdraw.TextScale f)
let addrendermode i =
addop (Cpdfdraw.RenderMode i)
let addrise f =
addop (Cpdfdraw.Rise f)
let addnewline () =
addop Cpdfdraw.Newline

View File

@ -43,3 +43,10 @@ val addsopacity : float -> unit
val addbt : unit -> unit
val addet : unit -> unit
val addnewpage : unit -> unit
val addleading : float -> unit
val addcharspace : float -> unit
val addwordspace : float -> unit
val addtextscale : float -> unit
val addrendermode : int -> unit
val addrise : float -> unit
val addnewline : unit -> unit