package mm
The mm library contains high-level APIs to create and manipulate multimedia streams (audio, video, MIDI)
Install
Dune Dependency
Authors
Maintainers
Sources
v0.8.4.tar.gz
md5=9316f8bce6e8b7a2c83aaab31d3326dc
sha512=489e082866fd7db77248cb7e3a5d0a7e5af6c3390c9b27b317cce9bb3a48f26e6a05d1d55a662a181b5dcbeeec59aded5d0f08bd33c0ee8554655c5cad69a782
doc/mm.image/Mm_image/Image/Canvas/argument-1-I/index.html
Parameter Canvas.I
val width : t -> int
Width of the image.
val height : t -> int
Height of the image.
val size : t -> int
Size of the image in bytes.
val create : int -> int -> t
Create an image with given dimensions.
val blank : t -> unit
Clear the image.
val has_alpha : t -> bool
Whether the image has alpha channel.
val fill_alpha : t -> int -> unit
Fill the alpha channel of the image.
val set_pixel_rgba : t -> int -> int -> Pixel.rgba -> unit
Set the RGBA value of a pixel.
val randomize : t -> unit
Fill the image with random data.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>