Package: cairo

Function cairo-version

Lambda List

cairo-version ()

Return Value

An integer with the encoded version.

Details

Returns the version of the Cairo library encoded in a single integer. The encoding ensures that later versions compare greater than earlier versions.

A run-time comparison to check that Cairo's version is greater than or equal to version x.y.z could be performed as follows: (>= (cairo-version) (cairo-version-encode x y z))

See also the function cairo-version-string.
 

See also

2020-12-5