graphv_core_lib

Primitives for the Graphv vector graphics library
Library graphv_core_lib
type t = {
r : float;
g : float;
b : float;
a : float;
}
val premultiply : t -> t
val rgbaf : r:float -> g:float -> b:float -> a:float -> t
val rgbf : r:float -> g:float -> b:float -> t
val rgba : r:int -> g:int -> b:int -> a:int -> t
val rgb : r:int -> g:int -> b:int -> t
val white : t
val black : t
val transparent : t
val lerp : t -> t -> a:float -> t
val clamp : float -> float -> float -> float
val transf : t -> float -> t
val trans : t -> int -> t
val hue : float -> float -> float -> float
val hsl : h:float -> s:float -> l:float -> t
val hsla : h:float -> s:float -> l:float -> a:int -> t