File: plot.h

package info (click to toggle)
cmix 2.0.12-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 6,924 kB
  • ctags: 6,063
  • sloc: cpp: 27,155; ansic: 11,923; sh: 3,000; exp: 2,270; yacc: 1,724; makefile: 1,251; lex: 488; perl: 278
file content (22 lines) | stat: -rw-r--r-- 476 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Time-stamp: <98/11/03 13:27:52 panic>
 * Author:	The C-Mix Project <cmix@diku.dk>
 *              Arne John Glenstrup  <panic@diku.dk>
 * Contents:	Header file for the screen plotting driver interface
 */

#ifndef PLOT_H
#define PLOT_H
#include "ray.h"

void initWindow(char *title, int height, int width, int use_c);

void closeWindow();

void plot(int x, int y, myfloat red, myfloat green, myfloat blue);

void refreshLine (int y);

int waitKeyOrClick();
     
#endif