package tiny_libs

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

Module BlitSource

Sourcetype image = {
  1. width : int;
  2. height : int;
  3. rgba : (int, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t;
}
Sourcetype color = {
  1. rgb : int;
  2. a : float;
}
Sourceval sample_nearest : image -> (float * float) -> color
Sourceval sample_bilinear : image -> (float * float) -> color
Sourcetype filter =
  1. | Nearest
  2. | Bilinear
Sourceval draw : Framebuffer.t -> image -> Affine.t -> filter:filter -> alpha:float -> unit