navit 0.5.3-trunk
Loading...
Searching...
No Matches
element Struct Reference

#include <layout.h>

Public Types

enum  {
  element_point , element_polyline , element_polygon , element_circle ,
  element_text , element_icon , element_image , element_arrows ,
  element_spikes
}
 

Data Fields

enum element:: { ... }  type
 
struct color color
 
int text_size
 
int oneway
 
union { 
 
   struct element_point
 
      char   stub 
 
   }   point 
 
   struct element_polyline
 
      int   width 
 
      int   directed 
 
      int   dash_num 
 
      int   offset 
 
      unsigned char   dash_table [4] 
 
   }   polyline 
 
   struct element_polygon
 
      char *   src 
 
      int   width 
 
      int   height 
 
      int   rotation 
 
      int   x 
 
      int   y 
 
   }   polygon 
 
   struct element_circle
 
      int   width 
 
      int   radius 
 
      struct color   background_color 
 
   }   circle 
 
   struct element_icon
 
      char *   src 
 
      int   width 
 
      int   height 
 
      int   rotation 
 
      int   x 
 
      int   y 
 
   }   icon 
 
   struct element_text
 
      struct color   background_color 
 
   }   text 
 
   struct element_arrows
 
      int   width 
 
   }   arrows 
 
   struct element_spikes
 
      int   width 
 
      int   distance 
 
   }   spikes 
 
u 
 
int coord_count
 
struct coordcoord
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
element_point 
element_polyline 
element_polygon 
element_circle 
element_text 
element_icon 
element_image 
element_arrows 
element_spikes 

Field Documentation

◆ [struct]

struct { ... } ::element_arrows element::arrows

◆ background_color

struct color element::background_color

◆ [struct]

◆ color

struct color element::color

◆ coord

struct coord* element::coord

◆ coord_count

int element::coord_count

◆ dash_num

int element::dash_num

◆ dash_table

unsigned char element::dash_table[4]

◆ directed

int element::directed

◆ distance

int element::distance

◆ height

int element::height

◆ [struct]

struct { ... } ::element_icon element::icon

◆ offset

int element::offset

◆ oneway

int element::oneway

◆ [struct]

struct { ... } ::element_point element::point

◆ [struct]

struct { ... } ::element_polygon element::polygon

◆ [struct]

◆ radius

int element::radius

◆ rotation

int element::rotation

◆ [struct]

◆ src

char* element::src

Referenced by get_icon(), and gui_internal_poi_icon().

◆ stub

char element::stub

◆ [struct]

struct { ... } ::element_text element::text

Referenced by displayitem_draw_text(), and text_new().

◆ text_size

int element::text_size

◆ []

◆ [union]

◆ width

int element::width

◆ x

int element::x

◆ y

int element::y

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