#include "spice.h"
#include "plotdev.h"
Go to the source code of this file.
|
int | Plt5_Init () |
|
int | Plt5_NewViewport (GRAPH *graph) |
|
int | Plt5_Close () |
|
int | Plt5_Halt () |
|
int | Plt5_Pixel (int x, int y) |
|
int | Plt5_Line (int x1, int y1, int x2, int y2) |
|
int | Plt5_Box (int x1, int y1, int x2, int y2) |
|
int | Plt5_Arc (int x0, int y0, int radius, double theta1, double theta2) |
|
int | Plt5_Polygon (POLYGON *p) |
|
int | Plt5_Text (char *text, int x, int y) |
|
int | Plt5_SetLinestyle (int linestyleid) |
|
int | Plt5_SetColor (int colorid) |
|
int | Plt5_Update () |
|
Value:
Definition at line 13 of file plot5.c.
int Plt5_Arc |
( |
int |
x0, |
|
|
int |
y0, |
|
|
int |
radius, |
|
|
double |
theta1, |
|
|
double |
theta2 |
|
) |
| |
Definition at line 141 of file plot5.c.
148 xs = radius*
sin(theta1);
149 ys = radius*
cos(theta1);
150 xf = radius*
sin(theta2);
151 yf = radius*
cos(theta2);
int Plt5_Box |
( |
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2 |
|
) |
| |
Definition at line 127 of file plot5.c.
int Plt5_Line(int x1, int y1, int x2, int y2)
int Plt5_Line |
( |
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2 |
|
) |
| |
int Plt5_NewViewport |
( |
GRAPH * |
graph | ) |
|
Definition at line 37 of file plot5.c.
struct graph::@2 absolute
int Plt5_Pixel |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
int Plt5_SetColor |
( |
int |
colorid | ) |
|
int Plt5_SetLinestyle |
( |
int |
linestyleid | ) |
|
Definition at line 201 of file plot5.c.
205 if (linestyleid < 0) {
static char * linestyle[]
internalerror(char *message)
static int currentlinestyle
int Plt5_Text |
( |
char * |
text, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
Definition at line 174 of file plot5.c.
static int currentlinestyle
int Plt5_SetLinestyle(int linestyleid)
int currentlinestyle = SOLID |
|
static |
Initial value:= { "solid", "dotted", "longdashed", "shortdashed",
"dotdashed" }
Definition at line 17 of file plot5.c.