NetSurf
Data Fields
mapentry Struct Reference
Collaboration diagram for mapentry:
[legend]

Data Fields

imagemap_entry_type type
 type of shape More...
 
nsurlurl
 absolute url to go to More...
 
char * target
 target frame (if any) More...
 
union {
   struct {
      int   x
 x coordinate of centre More...
 
      int   y
 y coordinate of center More...
 
      int   r
 radius of circle More...
 
   }   circle
 
   struct {
      int   x0
 left hand edge More...
 
      int   y0
 top edge More...
 
      int   x1
 right hand edge More...
 
      int   y1
 bottom edge More...
 
   }   rect
 
   struct {
      int   num
 number of points More...
 
      float *   xcoords
 x coordinates More...
 
      float *   ycoords
 y coordinates More...
 
   }   poly
 
bounds
 
struct mapentrynext
 next entry in list More...
 

Detailed Description

Definition at line 52 of file imagemap.c.

Field Documentation

◆ 

union { ... } mapentry::bounds

◆ 

struct { ... } mapentry::circle

◆ next

struct mapentry* mapentry::next

next entry in list

Definition at line 74 of file imagemap.c.

Referenced by imagemap_addtolist(), imagemap_dump(), imagemap_freelist(), and imagemap_get().

◆ num

int mapentry::num

number of points

Definition at line 69 of file imagemap.c.

Referenced by imagemap_addtolist(), imagemap_dump(), imagemap_get(), and imagemap_point_in_poly().

◆ 

struct { ... } mapentry::poly

◆ r

int mapentry::r

radius of circle

Definition at line 60 of file imagemap.c.

Referenced by imagemap_addtolist(), imagemap_dump(), and imagemap_get().

◆ 

struct { ... } mapentry::rect

◆ target

char* mapentry::target

target frame (if any)

Definition at line 55 of file imagemap.c.

Referenced by imagemap_addtolist(), imagemap_freelist(), and imagemap_get().

◆ type

imagemap_entry_type mapentry::type

type of shape

Definition at line 53 of file imagemap.c.

Referenced by imagemap_addtolist(), imagemap_dump(), imagemap_freelist(), and imagemap_get().

◆ url

nsurl* mapentry::url

absolute url to go to

Definition at line 54 of file imagemap.c.

Referenced by imagemap_addtolist(), imagemap_dump(), imagemap_freelist(), and imagemap_get().

◆ x

int mapentry::x

x coordinate of centre

Definition at line 58 of file imagemap.c.

Referenced by imagemap_addtolist(), imagemap_dump(), imagemap_get(), and imagemap_point_in_poly().

◆ x0

int mapentry::x0

left hand edge

Definition at line 63 of file imagemap.c.

Referenced by imagemap_addtolist(), imagemap_dump(), and imagemap_get().

◆ x1

int mapentry::x1

right hand edge

Definition at line 65 of file imagemap.c.

Referenced by imagemap_addtolist(), and imagemap_dump().

◆ xcoords

float* mapentry::xcoords

x coordinates

Definition at line 70 of file imagemap.c.

Referenced by imagemap_addtolist(), imagemap_dump(), imagemap_freelist(), and imagemap_get().

◆ y

int mapentry::y

y coordinate of center

Definition at line 59 of file imagemap.c.

Referenced by imagemap_addtolist(), imagemap_dump(), imagemap_get(), and imagemap_point_in_poly().

◆ y0

int mapentry::y0

top edge

Definition at line 64 of file imagemap.c.

Referenced by imagemap_addtolist(), imagemap_dump(), and imagemap_get().

◆ y1

int mapentry::y1

bottom edge

Definition at line 66 of file imagemap.c.

Referenced by imagemap_addtolist(), and imagemap_dump().

◆ ycoords

float* mapentry::ycoords

y coordinates

Definition at line 71 of file imagemap.c.

Referenced by imagemap_addtolist(), imagemap_dump(), imagemap_freelist(), and imagemap_get().


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