1 /** 2 * \file cairo_renderer.h 3 * \brief Cairo-based renderer for the GTK3 backend. 4 * 5 * \author Michael C. Martin <mcmartin@gmail.com> 6 */ 7 8 /* 9 * This file is part of VICE, the Versatile Commodore Emulator. 10 * See README for copyright notice. 11 * 12 * This program is free software; you can redistribute it and/or modify 13 * it under the terms of the GNU General Public License as published by 14 * the Free Software Foundation; either version 2 of the License, or 15 * (at your option) any later version. 16 * 17 * This program is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * GNU General Public License for more details. 21 * 22 * You should have received a copy of the GNU General Public License 23 * along with this program; if not, write to the Free Software 24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 25 * 02111-1307 USA. 26 * 27 */ 28 #ifndef VICE_CAIRO_RENDERER_H 29 #define VICE_CAIRO_RENDERER_H 30 31 #include "videoarch.h" 32 33 /** \brief A renderer backend that uses the Cairo library to render to 34 * a standard GtkDrawingArea. 35 * 36 * This is a software renderer, so you are likely to experience 37 * significant performance penalties if you attempt to scale your 38 * window. However, it is maximally compatible with any system GTK3 39 * itself will run on. */ 40 extern vice_renderer_backend_t vice_cairo_backend; 41 42 #endif 43