Linuxpops  3.01.04
Spectral Anaysis Package for Single Dish Data
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
test.c File Reference
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Macros

#define M_PHI   1.618033988749895
 
#define WINDOW_HEIGHT   1000
 

Functions

void set_colour (Display *display, int s, Colormap cmap, unsigned int rgb_value)
 
void draw_section (Display *display, Window window, int s, Colormap cmap, unsigned int xpos, unsigned int ypos, unsigned int height, unsigned short index)
 
void draw_spiral (Display *display, Window window, int s, Colormap cmap, unsigned int xpos, unsigned int ypos, unsigned int height, unsigned int seed)
 
int main (void)
 

Macro Definition Documentation

#define M_PHI   1.618033988749895

Definition at line 14 of file test.c.

#define WINDOW_HEIGHT   1000

Definition at line 15 of file test.c.

Function Documentation

void draw_section ( Display *  display,
Window  window,
int  s,
Colormap  cmap,
unsigned int  xpos,
unsigned int  ypos,
unsigned int  height,
unsigned short  index 
)

Definition at line 33 of file test.c.

void draw_spiral ( Display *  display,
Window  window,
int  s,
Colormap  cmap,
unsigned int  xpos,
unsigned int  ypos,
unsigned int  height,
unsigned int  seed 
)

Definition at line 59 of file test.c.

int main ( void  )

Definition at line 82 of file test.c.

void set_colour ( Display *  display,
int  s,
Colormap  cmap,
unsigned int  rgb_value 
)

Definition at line 21 of file test.c.