cycfi/artist
소개
Cross Platform C++ Vector Graphics Library (Inspired by the HTML5 canvas API)
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Artist 2D Canvas Library

Introduction
The Artist 2D Canvas Library is an abstraction layer with an API inspired by the HTML5 canvas API. The library presents a lean API modeled after the HTML Canvas 2D Context specification. The API is a not-so-thin layer above various 2D platform-specific and cross-platform 2D "backend" graphics libraries, such as Skia, Quartz-2D, and Cairo.
The Artist library goes beyond the basic HTML5 canvas API with extensions for dealing with text layout and mechanisms for text editing, fonts and font management, path creation and manipulation, and image capture and offscreen graphics.
Status:
mastertracks the latest stable release (currently v1.0.2). The next release, v1.1, is developed ondevelop, where the docs stay in sync as changes land. See NEWS.md for what is new in each release.
Backends
Artist supports five rendering backends. Only one backend is active per build.
| Backend | Platform | CMake option | Default |
|---|---|---|---|
| Quartz-2D | macOS | ARTIST_QUARTZ_2D=ON |
macOS |
| Direct2D | Windows | ARTIST_DIRECT2D=ON |
Windows |
| Skia | macOS, Linux, Windows x64 | ARTIST_SKIA=ON |
off |
| Cairo | macOS, Linux, Windows | ARTIST_CAIRO=ON |
Linux and others |
| Recording | macOS, Linux, Windows | ARTIST_RECORDING=ON |
off |
With no backend option set, CMake uses the platform's native backend. Enabling one backend automatically disables the others. The recording backend draws nothing: it keeps a journal of the drawing calls, for tests.
Setup and Installation covers building with each backend: the prebuilt Skia and Cairo bundles, building them from source with vcpkg, and the Cairo backend's supported platforms and known limitations.
Documentation
The documentation is built with Antora (sources under
docs/) and published at
https://cycfi.github.io/artist/.
The Author

Joel got into electronics and programming in the 80s because almost everything in music, his first love, is becoming electronic and digital. Since then, he builds his own guitars, effect boxes and synths. He enjoys playing distortion-laden rock guitar, composes and produces his own music in his home studio.
Joel de Guzman is the principal architect and engineer at Cycfi Research. He is a software engineer specializing in advanced C++ and an advocate of Open Source. He has authored a number of highly successful Open Source projects such as Boost.Spirit, Boost.Phoenix and Boost.Fusion. These libraries are all part of the Boost Libraries, a well respected, peer-reviewed, Open Source, collaborative development effort.
Discord
Join the Discord channel to discuss Artist and chat with the developers.
Copyright (c) 2014-2026 Joel de Guzman. All rights reserved. Distributed under the MIT License
관련 프로젝트 살펴보기
불러오는 중…