package cairo2

  1. Overview
  2. Docs
type t
val copy : context -> t
val copy_flat : context -> t
val append : context -> t -> unit
val get_current_point : context -> float * float
val clear : context -> unit
val sub : context -> unit
val close : context -> unit
val glyph : context -> Glyph.t array -> unit
val text : context -> string -> unit
val extents : context -> rectangle
val fold : t -> ('a -> path_data -> 'a) -> 'a -> 'a
val to_array : t -> path_data array
val of_array : path_data array -> t
OCaml

Innovation. Community. Security.