Module Vg.Vgr.Manual

module Manual: sig .. end
Manual render destinations.

Warning. Only use with renderers with `Manual destinations.

val dst : Vg.renderer -> bytes -> int -> int -> unit
dst r s j l provides r with l bytes to write, starting at j in s. This byte range is written by calls to Vg.Vgr.render until `Partial is returned. Use Vg.Vgr.Manual.dst_rem to know the remaining number of non-written free bytes in s.
val dst_rem : Vg.renderer -> int
dst_rem r is the remaining number of non-written, free bytes in the last buffer provided with Vg.Vgr.Manual.dst.