Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

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

#define zzpltr_1   zzpltr_
 

Definition at line 29 of file zzline.c.

#define zzzplt_1   zzzplt_
 

Definition at line 19 of file zzline.c.

Referenced by zzline_().


Function Documentation

int zzline_ real   x1,
real   y1,
real   x2,
real   y2
 

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

real alphxx
 

Definition at line 14 of file zzline.c.

real alphyy
 

Definition at line 14 of file zzline.c.

real betaxx
 

Definition at line 14 of file zzline.c.

real betayy
 

Definition at line 14 of file zzline.c.

char cfile[64]
 

Definition at line 26 of file zzline.c.

integer iflip
 

Definition at line 25 of file zzline.c.

integer isizx
 

Definition at line 15 of file zzline.c.

integer isizy
 

Definition at line 15 of file zzline.c.

integer ixcoor
 

Definition at line 13 of file zzline.c.

integer ixpmax
 

Definition at line 23 of file zzline.c.

integer iycoor
 

Definition at line 13 of file zzline.c.

integer iypmax
 

Definition at line 23 of file zzline.c.

integer majrx
 

Definition at line 15 of file zzline.c.

integer majry
 

Definition at line 15 of file zzline.c.

integer minrx
 

Definition at line 15 of file zzline.c.

integer minry
 

Definition at line 15 of file zzline.c.

integer nplotr
 

Definition at line 25 of file zzline.c.

real tmajx
 

Definition at line 14 of file zzline.c.

real tmajy
 

Definition at line 14 of file zzline.c.

real tminx
 

Definition at line 14 of file zzline.c.

real tminy
 

Definition at line 14 of file zzline.c.

real xbot
 

Definition at line 11 of file zzline.c.

real xclbot
 

Definition at line 11 of file zzline.c.

real xcltop
 

Definition at line 11 of file zzline.c.

real xmax
 

Definition at line 11 of file zzline.c.

real xmin
 

Definition at line 11 of file zzline.c.

real xpgmax
 

Definition at line 11 of file zzline.c.

real xpgmin
 

Definition at line 11 of file zzline.c.

real xphmax
 

Definition at line 22 of file zzline.c.

real xphold
 

Definition at line 16 of file zzline.c.

real xpscal
 

Definition at line 24 of file zzline.c.

real xtop
 

Definition at line 11 of file zzline.c.

real ybot
 

Definition at line 11 of file zzline.c.

real yclbot
 

Definition at line 11 of file zzline.c.

real ycltop
 

Definition at line 11 of file zzline.c.

real ymax
 

Definition at line 11 of file zzline.c.

real ymin
 

Definition at line 11 of file zzline.c.

real ypgmax
 

Definition at line 11 of file zzline.c.

real ypgmin
 

Definition at line 11 of file zzline.c.

real yphmax
 

Definition at line 22 of file zzline.c.

real yphold
 

Definition at line 16 of file zzline.c.

real ypscal
 

Definition at line 24 of file zzline.c.

real ytop
 

Definition at line 11 of file zzline.c.

struct { ... } zzpltr_
 

struct { ... } zzzplt_
 

 

Powered by Plone

This site conforms to the following standards: