예제 #1
0
파일: draw.c 프로젝트: imincik/pkg-grass
int D_set_clip_window_to_screen_window(void)
{
    D_get_screen_window(&top, &bottom, &left, &right);
    D_set_clip_window(top, bottom, left, right);

    return 0;
}
예제 #2
0
파일: draw.c 프로젝트: imincik/pkg-grass
int D_set_clip_window_to_map_window(void)
{
    D_set_clip_window((int)D_get_d_north(),
		      (int)D_get_d_south(),
		      (int)D_get_d_west(), (int)D_get_d_east()
	);

    return 0;
}
예제 #3
0
파일: r_raster.c 프로젝트: caomw/grass
void D_set_clip_window_to_map_window(void)
{
    D_set_clip_window(
	D_get_d_north(), D_get_d_south(),
	D_get_d_west(), D_get_d_east());
}