package lablgtk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type gdkFillRule = [
  1. | `EVEN_ODD_RULE
  2. | `WINDING_RULE
]
type gdkOverlapType = [
  1. | `IN
  2. | `OUT
  3. | `PART
]
val create : unit -> region
val destroy : region -> unit
val polygon : (int * int) list -> gdkFillRule -> region
val intersect : region -> region -> region
val union : region -> region -> region
val subtract : region -> region -> region
val xor : region -> region -> region
val union_with_rect : region -> Rectangle.t -> region
val offset : region -> x:int -> y:int -> unit
val shrink : region -> x:int -> y:int -> unit
val empty : region -> bool
val equal : region -> region -> bool
val point_in : region -> x:int -> y:int -> bool
val rect_in : region -> Rectangle.t -> gdkOverlapType
val get_clipbox : region -> Rectangle.t -> unit
OCaml

Innovation. Community. Security.