Back to index

radiance  4R0+20100331
Classes | Defines | Variables
rast.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SCANBLOCK

Defines

#define NUMSCANS   16 /* number of scanlines per block */
#define IBLK   0 /* index for black */
#define IRED   1
#define IGRN   2
#define IBLU   3
#define IYEL   4
#define IMAG   5
#define ICYN   6
#define IWHT   7
#define pixtog(x, y, c)
#define pixmix(x, y, c)   (outblock.cols[(y)-outblock.ybot][x] &= 070|(c))
#define someabove(p, y)   (CONV((p)->xy[YMX],dysize) > (y))
#define somebelow(p, y)   (CONV((p)->xy[YMN],dysize) < (y))
#define inthis(p)
#define innext(p)

Variables

int ydown
int minwidth
SCANBLOCK outblock

Class Documentation

struct SCANBLOCK

Definition at line 14 of file rast.h.

Class Members
unsigned char * cols
int width
int xleft
int xright
int ybot
int ytop

Define Documentation

#define IBLK   0 /* index for black */

Definition at line 27 of file rast.h.

#define IBLU   3

Definition at line 30 of file rast.h.

#define ICYN   6

Definition at line 33 of file rast.h.

#define IGRN   2

Definition at line 29 of file rast.h.

#define IMAG   5

Definition at line 32 of file rast.h.

#define innext (   p)
Value:

Definition at line 47 of file rast.h.

#define inthis (   p)
Value:
(ydown ? someabove(p,outblock.ybot-1) : \
                            somebelow(p,outblock.ytop+1))

Definition at line 45 of file rast.h.

#define IRED   1

Definition at line 28 of file rast.h.

#define IWHT   7

Definition at line 34 of file rast.h.

#define IYEL   4

Definition at line 31 of file rast.h.

#define NUMSCANS   16 /* number of scanlines per block */

Definition at line 12 of file rast.h.

#define pixmix (   x,
  y,
  c 
)    (outblock.cols[(y)-outblock.ybot][x] &= 070|(c))

Definition at line 40 of file rast.h.

#define pixtog (   x,
  y,
  c 
)
Value:
{ register unsigned char \
              *cp = outblock.cols[(y)-outblock.ybot]+(x); \
              *cp = ((~*cp ^ (c)<<3)&070) | (*cp&07); }

Definition at line 36 of file rast.h.

#define someabove (   p,
 
)    (CONV((p)->xy[YMX],dysize) > (y))

Definition at line 42 of file rast.h.

#define somebelow (   p,
 
)    (CONV((p)->xy[YMN],dysize) < (y))

Definition at line 43 of file rast.h.


Variable Documentation

int minwidth

Definition at line 20 of file mplot.c.

Definition at line 25 of file meta2bmp.c.

int ydown

Definition at line 31 of file meta2bmp.c.