毕加索是一个高品质的2D矢量图形渲染库. 它支持路径,矩阵,梯度,图案,图像和真类型字体.
Copyright (C) 2008 ~ 2025 Zhang Ji Peng ([email protected])
Picasso is a high quality vector graphic rendering library. It has high performance and low footprint. Picasso provides a set of high level 2D graphics API, which can be used to a GUI system, rendering postscript, rendering svg images and so on. It support path, matrix, gradient, pattern, image and truetype font.
1. Install cmake above v3.16 on your system
$ sudo apt install cmake
2. Build project
./build_linux.sh
cd proj
make
1. Install cmake above v3.16 on your windows system and register path environment variables.
c:\> winget install --id Kitware.CMake -e
2. Build project
build_windows.bat
cd proj
1. Install cmake above v3.16 on your system
$ brew install cmake
2. Build project
./build_macosx.sh
cd proj
The following example creates an off-screen canvas, draws a filled rectangle with a radial gradient, and saves the result. It demonstrates the core Picasso workflow: canvas → context → draw → release.
…
The pixel buffer buf now contains the rendered RGBA image and can be passed to any display or image-encoding layer.
| Alpha Blending & Compositing | SVG Rendering |
|---|---|
| Alpha blending across multiple overlapping geometry shapes | Full SVG path, gradient, and stroke rendering (Tiger benchmark) |
| GIS / Map Rendering | Realtime Instrumentation |
|---|---|
| High-density polyline and label rendering for GIS applications | Arc, gradient, and affine transform compositing for realtime UI |
暂无开放 Issues,或尚未同步最近议题。