19#ifndef __GRAPHICS_QT_QPAINTER_H
20#define __GRAPHICS_QT_QPAINTER_H
39#if QT_VERSION < 0x040000
40# error "Support for Qt 3 was dropped in rev 5999."
43#ifndef QT_QPAINTER_USE_FREETYPE
44# define QT_QPAINTER_USE_FREETYPE 1
47#ifdef QT_QPAINTER_USE_FREETYPE
51#include <QApplication>
52#include <QResizeEvent>
53#if QT_VERSION >= 0x040200
54# include <QGraphicsScene>
55# include <QGraphicsView>
61#include <QPixmapCache>
66# include <QSvgRenderer>
69#ifndef QT_QPAINTER_USE_EVENT_GLIB
70# define QT_QPAINTER_USE_EVENT_GLIB 1
74# ifndef QT_QPAINTER_USE_EMBEDDING
75# define QT_QPAINTER_USE_EMBEDDING 1
79#ifdef QT_QPAINTER_USE_EMBEDDING
80# include <QX11EmbedWidget>
83#ifndef QT_QPAINTER_RENDERAREA_PARENT
84# define QT_QPAINTER_RENDERAREA_PARENT QWidget
121#ifdef QT_QPAINTER_USE_FREETYPE
Definition RenderArea.h:34
Interface to the FreeType 2 library, to render text as bitmaps.
Exported functions / structures for the graphics subsystem.
draw_mode_num
Definition graphics.h:49
void event_qt_remove_timeout(struct event_timeout *ev)
void qt_qpainter_draw(struct graphics_priv *gr, const QRect *r, int paintev)
Definition graphics_qt_qpainter.cpp:61
struct navit struct traffic_methods * meth
Definition plugin_def.h:36
Definition event_glib.c:82
Definition event_glib.c:44
QSocketNotifier * sn
Definition event_qt5.cpp:52
struct callback * cb
Definition event_qt5.cpp:53
int fd
Definition event_qt5.cpp:54
Definition font_freetype.h:43
Definition font_freetype.c:73
Definition graphics_android.c:76
QBrush * brush
Definition graphics_qt5.h:113
QPen * pen
Definition graphics_qt5.h:112
struct color c
Definition graphics_gtk_drawing_area.c:96
Definition graphics_android.c:37
QApplication * app
Definition graphics_qt_qpainter.h:109
struct graphics_priv * next
Definition graphics_cocoa.m:70
char * window_title
Definition graphics_gtk_drawing_area.c:90
int h
Definition graphics_cocoa.m:69
struct navit * nav
Definition graphics_egl.c:95
struct font_freetype_methods freetype_methods
Definition graphics_egl.c:94
struct graphics_gc_priv * background_gc
Definition graphics_egl.c:88
struct point p pclean
Definition graphics_cocoa.m:68
int flags
Definition graphics_gd.c:193
int w
Definition graphics_cocoa.m:69
QPainter * painter
Definition graphics_qt5.h:86
RenderArea * widget
Definition graphics_qt_qpainter.h:111
struct point p
Definition graphics_egl.c:75
struct graphics_priv * parent
Definition graphics_cocoa.m:70
unsigned char rgba[4]
Definition graphics_qt_qpainter.h:114
enum draw_mode_num mode
Definition graphics_egl.c:89
int cleanup
Definition graphics_cocoa.m:69
int overlay_disable
Definition graphics_qt_qpainter.h:119
struct graphics_priv * overlays
Definition graphics_cocoa.m:70
int wraparound
Definition graphics_cocoa.m:69