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ãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}