Doxygen Source Code Documentation
zzline.c File Reference
#include "f2c.h"Go to the source code of this file.
Defines | |
| #define | zzzplt_1 zzzplt_ |
| #define | zzpltr_1 zzpltr_ |
Functions | |
| int | zzline_ (real *x1, real *y1, real *x2, real *y2) |
Variables | |
| struct { | |
| real xpgmin | |
| real ypgmin | |
| real xpgmax | |
| real ypgmax | |
| real xclbot | |
| real yclbot | |
| real xcltop | |
| real ycltop | |
| real xbot | |
| real ybot | |
| real xtop | |
| real ytop | |
| real xmin | |
| real ymin | |
| real xmax | |
| real ymax | |
| integer ixcoor | |
| integer iycoor | |
| real alphxx | |
| real betaxx | |
| real alphyy | |
| real betayy | |
| real tmajx | |
| real tminx | |
| real tmajy | |
| real tminy | |
| integer majrx | |
| integer minrx | |
| integer majry | |
| integer minry | |
| integer isizx | |
| integer isizy | |
| real xphold | |
| real yphold | |
| } | zzzplt_ |
| struct { | |
| real xphmax | |
| real yphmax | |
| integer ixpmax | |
| integer iypmax | |
| real xpscal | |
| real ypscal | |
| integer iflip | |
| integer nplotr | |
| char cfile [64] | |
| } | zzpltr_ |
Define Documentation
|
|
|
|
|
Definition at line 19 of file zzline.c. Referenced by zzline_(). |
Function Documentation
|
||||||||||||||||||||
|
Definition at line 34 of file zzline.c. References phline_(), x2, y1, zzclip_(), and zzzplt_1. Referenced by line_(), pwritf_(), vector_(), zzchar_(), zzlinx_(), zzliny_(), zzlogx_(), and zzlogy_().
00035 {
00036 extern /* Subroutine */ int phline_(real *, real *, real *, real *),
00037 zzclip_(real *, real *, real *, real *);
00038 static real xx1, xx2, yy1, yy2;
00039
00040
00041 /* Draw a line between 2 physical coordinates points. */
00042 /* .......................................................................
00043 */
00044 /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00045 */
00046
00047 /* Internal Data for PLOTPAK */
00048
00049 xx1 = *x1;
00050 yy1 = *y1;
00051 xx2 = *x2;
00052 yy2 = *y2;
00053 zzclip_(&xx1, &yy1, &xx2, &yy2);
00054 if (xx1 >= zzzplt_1.xpgmin) {
00055 phline_(&xx1, &yy1, &xx2, &yy2);
00056 }
00057 zzzplt_1.xphold = *x2;
00058 zzzplt_1.yphold = *y2;
00059
00060 return 0;
00061 } /* zzline_ */
|
Variable Documentation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|