package lablgtk3-goocanvas2

  1. Overview
  2. Docs
val new_canvas : unit -> GooCanvas_types.canvas Gobject.obj
val get_bounds : GooCanvas_types.canvas Gobject.obj -> float array
val set_bounds : GooCanvas_types.canvas Gobject.obj -> left:float -> top:float -> right:float -> bottom:float -> unit
val set_root_item : [> GooCanvas_types.canvas ] Gobject.obj -> [> GooCanvas_types.item ] Gobject.obj -> unit
val convert_to_item_space : [> GooCanvas_types.canvas ] Gobject.obj -> GooCanvas_types.item Gobject.obj -> float -> float -> float * float
val convert_from_item_space : [> GooCanvas_types.canvas ] Gobject.obj -> GooCanvas_types.item Gobject.obj -> float -> float -> float * float
val convert_to_pixels : [> GooCanvas_types.canvas ] Gobject.obj -> float -> float -> float * float
val convert_from_pixels : [> GooCanvas_types.canvas ] Gobject.obj -> float -> float -> float * float
val get_scale : [> GooCanvas_types.canvas ] Gobject.obj -> float
val set_scale : [> GooCanvas_types.canvas ] Gobject.obj -> float -> unit
val get_item_at : [> GooCanvas_types.canvas ] Gobject.obj -> float -> float -> bool -> GooCanvas_types.item Gobject.obj option
val scroll_to : [> GooCanvas_types.canvas ] Gobject.obj -> float -> float -> unit
OCaml

Innovation. Community. Security.