概要
Cross Platform C++ Vector Graphics Library (Inspired by the HTML5 canvas API)
デザイン・メディア計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
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
関連プロジェクトを探す
読み込み中…