Table of Contents

Method cairo_version

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

cairo_version()

Retrieves the version number of the Cairo graphics library.

public static extern int cairo_version()

Returns

int

An integer representing the version of the Cairo library, encoded as a single number. The version is typically represented as (major * 10000 + minor * 100 + micro).

Remarks

This method provides the version of the Cairo library linked at runtime. The version number can be used to verify compatibility or enable features based on the library version.