package mm
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
The mm library contains high-level APIs to create and manipulate multimedia streams (audio, video, MIDI)
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.8.5.tar.gz
md5=d2468f8ceecf97dd76a507bf94eba326
sha512=c5b8289d3603fa7d6adb3688bce539ae45ff920c1b587001b2c81ffabf4397f090d4de5c89d8d5251f0eb0b8a7b36ce0104a5a8001dcbfe82e0fbca30f965c64
doc/mm.image/Mm_image/Image/Canvas/argument-1-I/index.html
Parameter Canvas.I
val width : t -> intWidth of the image.
val height : t -> intHeight of the image.
val size : t -> intSize of the image in bytes.
val create : int -> int -> tCreate an image with given dimensions.
val blank : t -> unitClear the image.
val has_alpha : t -> boolWhether the image has alpha channel.
val fill_alpha : t -> int -> unitFill the alpha channel of the image.
val set_pixel_rgba : t -> int -> int -> Pixel.rgba -> unitSet the RGBA value of a pixel.
val randomize : t -> unitFill the image with random data.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>