navit
0.5.1-trunk
|
Data Structures | |
struct | graphics_font_priv |
struct | graphics_image_priv |
Functions | |
static void | overlay_rect (struct graphics_priv *parent, struct graphics_priv *overlay, int clean, QRect *r) |
void | qt_qpainter_draw (struct graphics_priv *gr, const QRect *r, int paintev) |
static void | graphics_destroy (struct graphics_priv *gr) |
static void | font_destroy (struct graphics_font_priv *font) |
static struct graphics_font_priv * | font_new (struct graphics_priv *gr, struct graphics_font_methods *meth, char *fontfamily, int size, int flags) |
static void | gc_destroy (struct graphics_gc_priv *gc) |
static void | gc_set_linewidth (struct graphics_gc_priv *gc, int w) |
static void | gc_set_dashes (struct graphics_gc_priv *gc, int w, int offset, unsigned char *dash_list, int n) |
static void | gc_set_foreground (struct graphics_gc_priv *gc, struct color *c) |
static void | gc_set_background (struct graphics_gc_priv *gc, struct color *c) |
static struct graphics_gc_priv * | gc_new (struct graphics_priv *gr, struct graphics_gc_methods *meth) |
static struct graphics_image_priv * | image_new (struct graphics_priv *gr, struct graphics_image_methods *meth, char *path, int *w, int *h, struct point *hot, int rotation) |
static void | draw_lines (struct graphics_priv *gr, struct graphics_gc_priv *gc, struct point *p, int count) |
static void | draw_polygon (struct graphics_priv *gr, struct graphics_gc_priv *gc, struct point *p, int count) |
static void | draw_rectangle (struct graphics_priv *gr, struct graphics_gc_priv *gc, struct point *p, int w, int h) |
static void | draw_circle (struct graphics_priv *gr, struct graphics_gc_priv *gc, struct point *p, int r) |
static void | draw_text (struct graphics_priv *gr, struct graphics_gc_priv *fg, struct graphics_gc_priv *bg, struct graphics_font_priv *font, char *text, struct point *p, int dx, int dy) |
static void | draw_image (struct graphics_priv *gr, struct graphics_gc_priv *fg, struct point *p, struct graphics_image_priv *img) |
static void | draw_drag (struct graphics_priv *gr, struct point *p) |
static void | background_gc (struct graphics_priv *gr, struct graphics_gc_priv *gc) |
static void | draw_mode (struct graphics_priv *gr, enum draw_mode_num mode) |
static struct graphics_priv * | overlay_new (struct graphics_priv *gr, struct graphics_methods *meth, struct point *p, int w, int h, int wraparound) |
static int | fullscreen (struct window *win, int on) |
static void | disable_suspend (struct window *win) |
static void * | get_data (struct graphics_priv *this_, const char *type) |
static void | image_free (struct graphics_priv *gr, struct graphics_image_priv *priv) |
static void | get_text_bbox (struct graphics_priv *gr, struct graphics_font_priv *font, char *text, int dx, int dy, struct point *ret, int estimate) |
static void | overlay_disable (struct graphics_priv *gr, int disable) |
static int | set_attr (struct graphics_priv *gr, struct attr *attr) |
static struct graphics_priv * | graphics_qt_qpainter_new (struct navit *nav, struct graphics_methods *meth, struct attr **attrs, struct callback_list *cbl) |
void | plugin_init (void) |
Variables | |
static struct graphics_font_methods | font_methods |
static struct graphics_gc_methods | gc_methods |
static int | argc =1 |
static char * | argv [] ={NULL,NULL,NULL} |
static struct graphics_methods | graphics_methods |
|
static |
References color::a, color::b, graphics_priv::background_gc, graphics_gc_priv::c, color::g, color::r, and graphics_priv::rgba.
|
static |
References graphics_priv::app, and window::priv.
Referenced by get_data().
|
static |
References graphics_priv::painter, graphics_gc_priv::pen, point::x, and point::y.
|
static |
References graphics_priv::cleanup, p, graphics_priv::p, graphics_priv::pclean, point::x, and point::y.
|
static |
References graphics_priv::painter, graphics_image_priv::pixmap, point::x, and point::y.
|
static |
References graphics_priv::painter, graphics_gc_priv::pen, point::x, and point::y.
|
static |
|
static |
References graphics_gc_priv::brush, graphics_priv::painter, graphics_gc_priv::pen, point::x, and point::y.
|
static |
References graphics_gc_priv::brush, dbg, lvl_debug, graphics_priv::painter, point::x, and point::y.
|
static |
References graphics_gc_priv::c, data, font_freetype_glyph::dx, font_freetype_glyph::dy, graphics_font_priv::font, graphics_priv::freetype_methods, font_freetype_methods::get_glyph, font_freetype_methods::get_shadow, font_freetype_text::glyph, font_freetype_text::glyph_count, font_freetype_glyph::h, graphics_priv::painter, graphics_gc_priv::pen, font_freetype_methods::text_destroy, font_freetype_methods::text_new, TRUE, font_freetype_glyph::w, point::x, font_freetype_glyph::x, point::y, and font_freetype_glyph::y.
|
static |
|
static |
References graphics_font_priv::font, and font_methods.
References window::priv, and graphics_priv::widget.
Referenced by get_data(), graphics_qt5_new(), gui_gtk_new(), gui_internal_get_attr(), gui_internal_new(), gui_internal_set_attr(), gui_internal_set_graphics(), and keypress().
|
static |
References graphics_gc_priv::brush, and graphics_gc_priv::pen.
|
static |
References graphics_gc_priv::brush, gc_methods, and graphics_gc_priv::pen.
|
static |
|
static |
|
static |
References color::b, graphics_gc_priv::brush, graphics_gc_priv::c, c, color::g, graphics_gc_priv::pen, and color::r.
|
static |
References graphics_gc_priv::pen.
|
static |
|
static |
References graphics_font_priv::font, graphics_priv::h, graphics_priv::painter, graphics_priv::w, point::x, and point::y.
|
static |
|
static |
References graphics_priv::app, argc, argv, attr_search(), cbl, dbg, event_request_system(), graphics_priv::flags, graphics_priv::font_freetype_new, font_freetype_new(), font_freetype_methods::font_new, graphics_methods::font_new, graphics_priv::freetype_methods, font_freetype_methods::get_text_bbox, graphics_methods::get_text_bbox, graphics_methods, graphics_priv::h, int(), lvl_debug, lvl_error, graphics_priv::nav, attr::num, graphics_priv::painter, attr::str, attr::u, graphics_priv::w, graphics_priv::widget, and graphics_priv::window_title.
Referenced by plugin_init().
|
static |
References graphics_image_priv::pixmap.
|
static |
References insert, key, graphics_image_priv::pixmap, point::x, and point::y.
|
static |
References graphics_priv::overlay_disable.
|
static |
References graphics_priv::font_freetype_new, font_freetype_methods::font_new, graphics_methods::font_new, graphics_priv::freetype_methods, font_freetype_methods::get_text_bbox, graphics_methods::get_text_bbox, graphics_methods, int(), graphics_priv::next, graphics_priv::overlays, p, graphics_priv::p, graphics_priv::painter, graphics_priv::parent, graphics_priv::widget, and graphics_priv::wraparound.
|
static |
Navit, a modular navigation system. Copyright (C) 2005-2008 Navit Team
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
References graphics_priv::p, graphics_priv::pclean, graphics_priv::widget, graphics_priv::wraparound, point::x, and point::y.
Referenced by draw_mode(), and qt_qpainter_draw().
void plugin_init | ( | void | ) |
References graphics_qt_qpainter_new().
void qt_qpainter_draw | ( | struct graphics_priv * | gr, |
const QRect * | r, | ||
int | paintev | ||
) |
References graphics_priv::background_gc, graphics_gc_priv::brush, data, dbg, lvl_debug, graphics_priv::next, graphics_priv::overlay, graphics_priv::overlay_disable, overlay_rect(), graphics_priv::overlays, graphics_priv::p, graphics_gc_priv::pen, graphics_priv::pixmap, graphics_priv::rgba, size, graphics_priv::widget, point::x, and point::y.
Referenced by draw_mode(), and RenderArea::paintEvent().
|
static |
References graphics_priv::h, attr::num, size, attr::type, attr::u, graphics_priv::w, and graphics_priv::widget.
|
static |
Referenced by geod_set(), graphics_opengl_new(), graphics_qt_qpainter_new(), main(), main_real(), and speechd_say().
|
static |
Referenced by graphics_qt_qpainter_new(), main_real(), navit_cmd_spawn(), and speechd_say().
|
static |
Referenced by font_new().
|
static |
Referenced by gc_new().
|
static |
Referenced by graphics_qt_qpainter_new(), and overlay_new().