GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
vector/vedit/render.c File Reference

Vedit library - render vector features (used by wxGUI digitizer) More...

#include <math.h>
#include <grass/vedit.h>
Include dependency graph for vector/vedit/render.c:

Go to the source code of this file.

Data Structures

struct  _region
 
struct  _state
 

Functions

struct robject_list * Vedit_render_map (struct Map_info *Map, struct bound_box *box, int draw_flag, double center_easting, double center_northing, int map_width, int map_height, double map_res)
 Render vector features into list. More...
 

Detailed Description

Vedit library - render vector features (used by wxGUI digitizer)

(C) 2010-2011 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Martin Landa <landa.martin gmail.com>

Definition in file vector/vedit/render.c.

Function Documentation

struct robject_list* Vedit_render_map ( struct Map_info *  Map,
struct bound_box *  box,
int  draw_flag,
double  center_easting,
double  center_northing,
int  map_width,
int  map_height,
double  map_res 
)

Render vector features into list.

Parameters
Mappointer to Map_info structure
boxbounding box of region to be rendered
draw_flagtypes of objects to be rendered (see vedit.h)
center_easing,center_northing,map_width,map_height,map_resvalues used for conversion en->xy
Returns
pointer to robject_list structure

Definition at line 61 of file vector/vedit/render.c.

References G_debug(), main::GV_LINES, NULL, Vect_destroy_list(), Vect_new_list(), Vect_select_areas_by_box(), and Vect_select_lines_by_box().

Referenced by wxdisplay.DisplayDriver::DrawMap().