Ucairo.ImageSourcecreate ~w ~h is a new ARGB32 image surface of dimensions w x h.
Raises Failure if allocation fails.
val create_for_data8 :
(int, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t ->
w:int ->
h:int ->
stride:int ->
surfacecreate_for_data8 data ~w ~h ~stride wraps existing pixel data as an ARGB32 image surface. data must remain live for the lifetime of the surface.
stride_for_width w is the minimum stride in bytes for an ARGB32 image of width w, respecting Cairo alignment requirements.