GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
#include <math.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/display.h>
#include <grass/glocale.h>
#include "driver.h"
#include "path.h"
#include "clip.h"
Go to the source code of this file.
Macros | |
#define | min(x, y) ((x) < (y) ? (x) : (y)) |
#define | max(x, y) ((x) > (y) ? (x) : (y)) |
Functions | |
void | D_set_clip (double t, double b, double l, double r) |
set clipping window More... | |
void | D_clip_to_map (void) |
set clipping window to map window More... | |
void | D_set_clip_mode (int mode) |
void | D_set_reduction (double e) |
void | D_line_width (double d) |
void | D_get_text_box (const char *text, double *t, double *b, double *l, double *r) |
void | D_pos_abs (double x, double y) |
void | D_pos_rel (double x, double y) |
void | D_begin (void) |
void | D_end (void) |
void | D_move_abs (double x, double y) |
void | D_cont_abs (double x, double y) |
void | D_close (void) |
void | D_stroke (void) |
void | D_fill (void) |
void | D_dots (void) |
void | D_polyline_abs (const double *x, const double *y, int n) |
void | D_polygon_abs (const double *x, const double *y, int n) |
void | D_polydots_abs (const double *x, const double *y, int n) |
void | D_line_abs (double x1, double y1, double x2, double y2) |
void | D_box_abs (double x1, double y1, double x2, double y2) |
void | D_move_rel (double x, double y) |
void | D_cont_rel (double x, double y) |
void | D_polydots_rel (const double *x, const double *y, int n) |
void | D_polyline_rel (const double *x, const double *y, int n) |
void | D_polygon_rel (const double *x, const double *y, int n) |
void | D_line_rel (double x1, double y1, double x2, double y2) |
void | D_box_rel (double x2, double y2) |
Definition at line 32 of file draw2.c.
Referenced by c_max(), c_maxx(), c_range(), Cdhc_extreme(), D_set_clip(), f_max(), f_nmax(), G_ls_format(), G_math_d_max_norm(), G_math_f_max_norm(), G_math_i_max_norm(), Gs_update_attrange(), gsd_do_scale(), gsd_model2real(), gsd_model2surf(), gsd_put_legend(), gsd_real2model(), gsd_surf2model(), I_list_group(), I_list_subgroup(), Nviz_set_volume_attr_default(), im_buffer< T >::print_range(), em_buffer< T, Key >::print_range(), Rast_get_max_c_cat(), Rast_put_reclass(), Vect_cat_in_cat_list(), Vect_get_point_in_poly_isl(), and w_max().
Definition at line 31 of file draw2.c.
Referenced by c_min(), c_minx(), c_range(), Cdhc_extreme(), D_set_clip(), ReplacementHeap< T, Compare >::extract_min(), ReplacementHeapBlock< T, Compare >::extract_min(), f_min(), f_nmin(), gs_get_zextents(), Gs_update_attrange(), gsd_do_scale(), gsd_model2real(), gsd_model2surf(), gsd_put_legend(), gsd_real2model(), gsd_surf2model(), I_cluster_reassign(), im_buffer< T >::print_range(), em_buffer< T, Key >::print_range(), Rast__row_update_range(), Rast_get_max_c_cat(), Rast_put_reclass(), Rast_row_update_fp_range(), Rast_update_fp_range(), Rast_update_range(), sort_intersection_list(), and w_min().
void D_begin | ( | void | ) |
Definition at line 291 of file draw2.c.
References path_begin().
void D_box_abs | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 | ||
) |
void D_clip_to_map | ( | void | ) |
set clipping window to map window
Sets the clipping window to the pixel window that corresponds to the current database region. This is the default.
~ |
Definition at line 171 of file draw2.c.
References b, D_get_src(), D_set_clip(), l, r, and t.
void D_close | ( | void | ) |
Definition at line 318 of file draw2.c.
References path_close().
void D_cont_abs | ( | double | x, |
double | y | ||
) |
void D_cont_rel | ( | double | x, |
double | y | ||
) |
Definition at line 444 of file draw2.c.
References D_cont_abs().
void D_get_text_box | ( | const char * | text, |
double * | t, | ||
double * | b, | ||
double * | l, | ||
double * | r | ||
) |
Definition at line 194 of file draw2.c.
References COM_Get_text_box(), D_d_to_u_col(), and D_d_to_u_row().
void D_line_abs | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 | ||
) |
void D_line_rel | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 | ||
) |
void D_move_abs | ( | double | x, |
double | y | ||
) |
void D_move_rel | ( | double | x, |
double | y | ||
) |
Definition at line 439 of file draw2.c.
References D_move_abs().
void D_polydots_abs | ( | const double * | x, |
const double * | y, | ||
int | n | ||
) |
void D_polydots_rel | ( | const double * | x, |
const double * | y, | ||
int | n | ||
) |
void D_polygon_abs | ( | const double * | x, |
const double * | y, | ||
int | n | ||
) |
void D_polygon_rel | ( | const double * | x, |
const double * | y, | ||
int | n | ||
) |
void D_polyline_abs | ( | const double * | x, |
const double * | y, | ||
int | n | ||
) |
void D_polyline_rel | ( | const double * | x, |
const double * | y, | ||
int | n | ||
) |
void D_pos_abs | ( | double | x, |
double | y | ||
) |
Definition at line 218 of file draw2.c.
Referenced by D_pos_rel().
void D_pos_rel | ( | double | x, |
double | y | ||
) |
Definition at line 229 of file draw2.c.
References D_pos_abs().
void D_set_clip | ( | double | t, |
double | b, | ||
double | l, | ||
double | r | ||
) |