Skip to content

Latest commit

 

History

History
 
 

capi

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

C interface for resvg.

Build

# Build with a Qt backend
cargo build --release --features="qt-backend"
# or with a cairo backend
cargo build --release --features="cairo-backend"
# or with both.
cargo build --release --features="qt-backend cairo-backend"

See BUILD.adoc for details.

Examples

A usage example with a cairo backend can be found at examples/cairo-capi.

A usage example with a qt backend can be found in the tools/viewsvg app.