package tiny_appkits

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module BitmapSource

Sourcetype t
Sourceval create : width:int -> height:int -> t
Sourceval width : t -> int
Sourceval height : t -> int
Sourceval get : t -> int -> int -> bool
Sourceval set : t -> int -> int -> bool -> unit
Sourceval copy : t -> t
Sourceval change : t -> (t -> unit) -> t
Sourceval sub : t -> x:int -> y:int -> w:int -> h:int -> t
Sourceval blit : src:t -> dst:t -> x:int -> y:int -> unit
Sourceval count : t -> int
Sourceval rectangles : t -> (int * int * int * int) list
Sourceval to_string : t -> string
Sourceval of_string : string -> t
Sourceval row : t -> int -> Bytes.t