navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
graphics Struct Reference

graphics object A graphics object serves as the target for drawing operations. It encapsulates various settings, and a drawing target, such as an image buffer or a window. Currently, in Navit, there is always one main graphics object, which is used to draw the map, and optionally additional graphics objects for overlays. More...

Data Fields

struct graphicsparent
 
struct graphics_privpriv
 
struct graphics_methods meth
 
char * default_font
 
int font_len
 
struct graphics_font ** font
 
struct graphics_gcgc [3]
 
struct attr ** attrs
 
struct callback_listcbl
 
struct point_rect r
 
int gamma
 
int brightness
 
int contrast
 
int colormgmt
 
int font_size
 
GListselection
 
int disabled
 
int current_z_order
 
GHashTable * image_cache_hash
 

Detailed Description

graphics object A graphics object serves as the target for drawing operations. It encapsulates various settings, and a drawing target, such as an image buffer or a window. Currently, in Navit, there is always one main graphics object, which is used to draw the map, and optionally additional graphics objects for overlays.

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.

See Also
graphics_overlay_new()
struct graphics_gc

Field Documentation

struct attr** graphics::attrs
int graphics::brightness
int graphics::contrast
int graphics::current_z_order

Referenced by displayitem_draw(), and xdisplay_draw().

char* graphics::default_font
int graphics::disabled
int graphics::font_len
int graphics::font_size
int graphics::gamma
GHashTable* graphics::image_cache_hash
struct graphics* graphics::parent

The documentation for this struct was generated from the following file: