Doxygen Source Code Documentation
line.c File Reference
#include "f2c.h"
Go to the source code of this file.
Functions | |
int | line_ (real *x1, real *y1, real *x2, real *y2) |
Function Documentation
|
Definition at line 11 of file line.c. References x2, y1, zzline_(), and zzphys_(). Referenced by plotpak_line(), and srfpl_().
00012 { 00013 extern /* Subroutine */ int zzline_(real *, real *, real *, real *); 00014 static real xx1, xx2, yy1, yy2; 00015 extern /* Subroutine */ int zzphys_(real *, real *); 00016 00017 00018 /* Draw one line between given user coordinates. */ 00019 /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00020 */ 00021 xx1 = *x1; 00022 yy1 = *y1; 00023 zzphys_(&xx1, &yy1); 00024 xx2 = *x2; 00025 yy2 = *y2; 00026 zzphys_(&xx2, &yy2); 00027 00028 zzline_(&xx1, &yy1, &xx2, &yy2); 00029 00030 return 0; 00031 } /* line_ */ |