cairoVersion: cairoVersion

Description Usage Details Value Author(s)

View source: R/cairoFuncs.R

Description

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

Usage

1

Details

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:

1
2
# This function is not that useful in R.
# Instead, please use cairoVersionString() with compareVersion().

See also cairoVersionString as well as the compile-time equivalents CAIRO_VERSION and CAIRO_VERSION_STRING.

Value

[integer] the encoded version.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.

Related to cairoVersion in RGtk2...