Rev 8195 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8195 | Rev 8897 | ||
---|---|---|---|
Line 18... | Line 18... | ||
18 | /* tex 2 gif translator, image manipulating routines */ |
18 | /* tex 2 gif translator, image manipulating routines */ |
19 | #include "texgif.h" |
19 | #include "texgif.h" |
20 | 20 | ||
21 | gdImagePtr image=NULL; |
21 | gdImagePtr image=NULL; |
22 | int color_white, color_black, color_bounder; |
22 | int color_white, color_black, color_bounder; |
- | 23 | ||
- | 24 | /* same in Flydraw/flylines.c */ |
|
23 | 25 | ||
24 | int getcolor(int r, int g, int b) |
26 | int getcolor(int r, int g, int b) |
25 | { |
27 | { |
26 | int col; |
28 | int col; |
27 | if(r>255) r=255; if(r<0) r=0; |
29 | if(r>255) r=255; if(r<0) r=0; |