skia
A complete 2D graphic library for drawing Text, Geometries, and Images.
Latest version: 132
Add to xmake.lua
add_requires("skia 132")Learn how to add and link packages with Xmake →
Information
- License
- BSD-3-Clause
- Recipe updated
- 2025-06-30T16:27:10.000Z
Platforms
- linux: i386, x86_64, armv7, armv7s, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- macosx: x86_64, arm64
- windows: x86, x64, arm, arm64ec
Options
gpu- Enable gpu support. · Type: boolean · Default: true
nvpr- Enable nvpr support. · Type: boolean · Default: true
pdf- Enable pdf support. · Type: boolean · Default: true
Versions
- 88
- 89
- 90
- 132
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "skia 132"show info
xrepo info "skia"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("skia 132")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("skia")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "skia 132" shell