百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

picasso

> 数据库
开源

毕加索是一个高品质的2D矢量图形渲染库. 它支持路径,矩阵,梯度,图案,图像和真类型字体.

376 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

毕加索是一个高品质的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.

Features

  • Path Filling, Stroking
  • Solid Color, Gradient, Pattern
  • Stroke Dashing
  • Linecap Butt, Round, Square
  • Linejoin Miter, Round, Bevel
  • Transform and Matrix
  • Filling Rule
  • Blur
  • Shadow
  • Clipping
  • Compisiting
  • Font and Text
  • Image Decoders jpeg, png, webp, gif
  • SVG Tiny 1.2
  • SVG Animation

How to build

linux:

1. Install cmake above v3.16 on your system
 $ sudo apt install cmake

2. Build project
 ./build_linux.sh
 cd proj
 make

windows:

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
 

macosx:

1. Install cmake above v3.16 on your system
 $ brew install cmake

2. Build project
 ./build_macosx.sh
 cd proj
 

Quick Start

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.

Documents

API Reference Documents

Gallery

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· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C++2dandroidcanvascanvas2d

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库