GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
pngdriver/set_window.c File Reference

GRASS png display driver - set window. More...

#include <math.h>
#include "pngdriver.h"
Include dependency graph for pngdriver/set_window.c:

Go to the source code of this file.

Functions

void PNG_Set_window (double t, double b, double l, double r)
 Set window. More...
 

Detailed Description

GRASS png display driver - set window.

(C) 2007-2014 by Glynn Clements and 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
Per Henrik Johansen (original contributor)
Glynn Clements

Definition in file pngdriver/set_window.c.

Function Documentation

◆ PNG_Set_window()

void PNG_Set_window ( double  t,
double  b,
double  l,
double  r 
)

Set window.

Parameters
t,b,l,rtop, bottom, left, right

Definition at line 23 of file pngdriver/set_window.c.

References b, png_state::clip_bot, png_state::clip_left, png_state::clip_rite, png_state::clip_top, png_state::height, l, png, r, t, and png_state::width.