module Snapshot:sig
..end
Create an image from a Layout.
val create : ?border:Style.border -> Layout.t -> Widget.t
Should be called from the main thread only. There are some issues with transparency.
val to_cursor : ?hot_x:int -> ?hot_y:int -> Layout.t -> Tsdl.Sdl.cursor option