package vg

  1. Overview
  2. Docs
module Data : sig ... end
module Font : sig ... end
module P : sig ... end
module I : sig ... end
type renderer
type k = renderer -> [ `Ok | `Partial ]
type render_fun = [ `End | `Image of Gg.size2 * Gg.box2 * Data.image ] -> k -> k
type !'a render_target = renderer -> 'a -> bool * render_fun constraint 'a = [< dst ]
val create_target : [< `Buffer of Buffer.t & Buffer.t & Buffer.t & Buffer.t | `Channel of Pervasives.out_channel & Pervasives.out_channel & Pervasives.out_channel & Pervasives.out_channel | `Manual | `Other ] as 'a render_target -> 'a target
val renderer : t -> renderer
val limit : renderer -> int
val warn : renderer -> warning -> unit
val partial : k -> renderer -> [> `Partial ]
val flush : k -> renderer -> [ `Ok | `Partial ]
val writeb : int -> k -> renderer -> [ `Ok | `Partial ]
val writes : string -> int -> int -> k -> renderer -> [ `Ok | `Partial ]
val writebuf : Buffer.t -> int -> int -> k -> renderer -> [ `Ok | `Partial ]
val add_xml_data : Buffer.t -> string -> unit
OCaml

Innovation. Community. Security.