GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71917
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cairodriver/line_width.c File Reference

GRASS cairo display driver - set line width. More...

#include "cairodriver.h"
Include dependency graph for cairodriver/line_width.c:

Go to the source code of this file.

Macros

#define MIN_WIDTH   1
 
#define MAX(a, b)   ((a)>(b)?(a):(b))
 

Functions

void Cairo_Line_width (double width)
 Set line width. More...
 

Detailed Description

GRASS cairo display driver - set line width.

(C) 2007-2008 by Lars Ahlzen 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
Lars Ahlzen <lars ahlzen.com> (original contibutor)
Glynn Clements

Definition in file cairodriver/line_width.c.

Macro Definition Documentation

#define MAX (   a,
  b 
)    ((a)>(b)?(a):(b))

Definition at line 20 of file cairodriver/line_width.c.

Referenced by Cairo_Line_width().

#define MIN_WIDTH   1

Definition at line 17 of file cairodriver/line_width.c.

Referenced by Cairo_Line_width().

Function Documentation

void Cairo_Line_width ( double  width)

Set line width.

Parameters
widthline width (double precision)

Definition at line 30 of file cairodriver/line_width.c.

References cairo, G_debug(), MAX, and MIN_WIDTH.

Referenced by Cairo_Driver().