Loading...
Searching...
No Matches
psdriver/draw.c
Go to the documentation of this file.
/*!
\file lib/psdriver/draw.c
\brief GRASS PS display driver
(C) 2007-2008 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 Glynn Clements
*/
#include "psdriver.h"
void PS_Begin(void)
{
output("NEW\n");
}
void PS_Move(double x, double y)
{
output("%f %f MOVE\n", x, y);
}
void PS_Cont(double x, double y)
{
output("%f %f CONT\n", x, y);
}
void PS_Close(void)
{
output("CLOSE\n");
}
void PS_Stroke(void)
{
output("STROKE\n");
}
void PS_Fill(void)
{
output("FILL\n");
}
void PS_Point(double x, double y)
{
output("%f %f POINT\n", x, y);
}
PS_Stroke
void PS_Stroke(void)
Definition psdriver/draw.c:36
PS_Fill
void PS_Fill(void)
Definition psdriver/draw.c:41
PS_Close
void PS_Close(void)
Definition psdriver/draw.c:31
PS_Begin
void PS_Begin(void)
Definition psdriver/draw.c:16
PS_Point
void PS_Point(double x, double y)
Definition psdriver/draw.c:46
PS_Cont
void PS_Cont(double x, double y)
Definition psdriver/draw.c:26
PS_Move
void PS_Move(double x, double y)
Definition psdriver/draw.c:21
output
void output(const char *fmt,...)
Definition psdriver/graph_set.c:233
psdriver.h
x
#define x