SDL makes a great companion library to cairo. With SDL, you can create portable multimedia applications very easily. Install the latest SDL development packages for your distribution, or download the latest SDL development kit from http://www.libsdl.org. Drawing with cairo to an SDL Surface is quite simple, as all you need to do is create a cairo_surface_t from the SDL_Surface using cairo_image_su
Latest news: 2024-09-01: cairo-1.18.2 2023-09-23: cairo-1.18.0 2023-02-02: cairo-1.17.8 2020-11-29: cairo-1.17.4 2019-02-01: cairo-1.17.2 Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System (via both Xlib and XCB), Quartz, Win32, image buffers, PostScript, PDF, and SVG file output. Cairo is designed to produce cons
文字のレイアウトとutf8からunicodeへの変換はcairoに任せられる。 #include <iostream> #include <cassert> #include <ft2build.h> #include FT_FREETYPE_H #include <cairo-ft.h> class FreeType { FT_Library library_; FT_Face face_; int error_; public: FreeType(const char *file, int index=0) { error_=FT_Init_FreeType(&library_); if(error_){ return; } error_=FT_New_Face(library_, file, index, &face_); if(error_){ return ; } } ~Free
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く