#include <stdio.h>
#include "rle.h"
#include "qcr.h"
Go to the source code of this file.
Definition at line 28 of file wedge.c.
References color_names, and raster.
31 register int i,j,color, val;
38 for (color = 0; color < 3; color++)
41 for (i = 0; i <
STEPS; i++)
44 val = i * (256 / (STEPS-1));
57 for (color = 0; color < 3; color++)
62 fprintf(stderr,
"Sending color %s...\n",
color_names[color] );
66 perror(
"wedge: error sending data");
68 fprintf(stderr,
"...sent\n\n");
75 fprintf(stderr,
"Sending three passes (for gray)...\n");
79 perror(
"wedge: error sending data");
81 fprintf(stderr,
"...sent\n\n");
int init_qcr(short verbose)
write_data(char *buff, int len)
static char * color_names[3]
set_up_qcr(int x_size, int y_size, int nslice, int offset)
char* color_names[3] = { "red", "green", "blue" } |
|
static |