cpdf-source/cpdfdrawcontrol.mli

87 lines
2.8 KiB
OCaml
Raw Permalink Normal View History

2024-03-04 16:16:14 +01:00
(** Cpdfcommand draw control *)
val embed_font : (unit -> Cpdfembed.cpdffont) ref
val getfontname : (unit -> string) ref
val getfontsize : (unit -> float) ref
2024-09-20 15:15:10 +02:00
val getindent : (unit -> float option) ref
2023-09-27 18:02:22 +02:00
val setfontname : (string -> unit) ref
val setfontsize : (float -> unit) ref
val setdrawing : (unit -> unit) ref
2023-10-05 17:45:11 +02:00
val setembedstd14 : (bool -> string -> unit) ref
val ttfs : (string, (string * Cpdfembed.cpdffont)) Hashtbl.t
2023-10-04 16:59:52 +02:00
val loadttf : (string -> unit) ref
val loadttfseparate : string -> string -> unit
val fontpack_initialised : bool ref
val drawops : (string * Cpdfdraw.drawops list) list ref
val addop : Cpdfdraw.drawops -> unit
2024-03-04 16:16:14 +01:00
val parse_colour : string -> Cpdfaddtext.colour
2024-09-15 19:53:59 +02:00
val addtag : string -> unit
val addstag : string -> unit
val endtag : unit -> unit
val endstag : unit -> unit
val autotags : bool -> unit
2024-09-26 16:22:22 +02:00
val eltinfo : string -> Pdf.pdfobject -> unit
2024-09-25 16:12:58 +02:00
val endeltinfo : string -> unit
2024-09-18 16:31:24 +02:00
val addnamespace : string -> unit
2024-09-25 16:12:58 +02:00
val setrolemap : string -> unit
val artifact : unit -> unit
val endartifact : unit -> unit
val autoartifacts : bool -> unit
val addrect : string -> unit
val addto : string -> unit
val addline : string -> unit
val addbezier : string -> unit
val addbezier23 : string -> unit
val addbezier13 : string -> unit
val addcircle : string -> unit
val setstroke : string -> unit
val setfill : string -> unit
val stroke : unit -> unit
val fill : unit -> unit
val fillevenodd : unit -> unit
val strokefill : unit -> unit
val strokefillevenodd : unit -> unit
val clip : unit -> unit
val clipevenodd : unit -> unit
val closepath : unit -> unit
val setthickness : string -> unit
val setcap : string -> unit
val setjoin : string -> unit
val setmiter : string -> unit
val setdash : string -> unit
val push : unit -> unit
val pop : unit -> unit
val setmatrix : string -> unit
val setmtranslate : string -> unit
val setmrotate : string -> unit
val setmscale : string -> unit
val setmshearx : string -> unit
val setmsheary : string -> unit
val xobjbbox : string -> unit
val startxobj : string -> unit
val endxobj : unit -> unit
val usexobj : string -> unit
val addjpeg : ?data:Pdfio.rawbytes -> string -> unit
val addpng : ?data:Pdfio.rawbytes -> string -> unit
2024-09-25 16:41:08 +02:00
val addimage : string -> unit
val addopacity : float -> unit
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
val add_default_fontpack : string -> unit
val addtext : string -> unit
val addspecialtext : string -> unit
2024-09-12 17:08:05 +02:00
val addpara : string -> unit
2024-09-19 15:41:51 +02:00
val addparas : string -> unit
2024-03-04 16:16:14 +01:00
(** This the beginnings of separation between cpdfcommand and cpdfdraw when
drawing, for use in cpdflib. It is presently undocumented. *)