25 |
* |
* |
26 |
*. |
*. |
27 |
* This file is part of the XForms library package. |
* This file is part of the XForms library package. |
28 |
* Copyright (c) 1993, 1998-2002 By T.C. Zhao |
* Copyright (c) 1993, 1998-2002 By T.C. Zhao |
29 |
* All rights reserved. |
* All rights reserved. |
30 |
*. |
*. |
31 |
* |
* |
42 |
* image descriptor --- 1 |
* image descriptor --- 1 |
43 |
* raster --- 2 |
* raster --- 2 |
44 |
* terminator |
* terminator |
45 |
* |
* |
46 |
* 1 & 2 can be repeated. |
* 1 & 2 can be repeated. |
47 |
*/ |
*/ |
48 |
|
|
271 |
if (!p->str[0]) |
if (!p->str[0]) |
272 |
continue; |
continue; |
273 |
|
|
274 |
/* |
/* |
275 |
* gif text size is given in pixels, convert to point. 1pixel = |
* gif text size is given in pixels, convert to point. 1pixel = |
276 |
* 0.75pt for a typical screen |
* 0.75pt for a typical screen |
277 |
*/ |
*/ |
956 |
WorkStr workstring; |
WorkStr workstring; |
957 |
FILE *fp = im->fpout; |
FILE *fp = im->fpout; |
958 |
|
|
959 |
/* |
/* |
960 |
* IMPORTANT: number of colors handed to this routine might not be 2^n, |
* IMPORTANT: number of colors handed to this routine might not be 2^n, |
961 |
* need to make it so to fool the encoder (colors-1 need to be full bits) |
* need to make it so to fool the encoder (colors-1 need to be full bits) |
962 |
*/ |
*/ |
976 |
ccode = EOFCode + 1; |
ccode = EOFCode + 1; |
977 |
cstr->prefix = -1; |
cstr->prefix = -1; |
978 |
|
|
979 |
/* |
/* |
980 |
* start raster stream. Old way of doing things, that is as soon as we |
* start raster stream. Old way of doing things, that is as soon as we |
981 |
* get 4095, a clearcode is emitted. |
* get 4095, a clearcode is emitted. |
982 |
*/ |
*/ |