Searched refs:colidx (Results 1 - 2 of 2) sorted by relevance
| /xsrc/external/mit/libXpm/dist/src/ |
| H A D | parse.c | 443 unsigned short colidx[256]; local in function:ParsePixels 450 bzero((char *)colidx, 256 * sizeof(short)); 452 colidx[(unsigned char)colorTable[a].string[0]] = a + 1; 463 if (c > 0 && c < 256 && colidx[c] != 0) 464 *iptr = colidx[c] - 1;
|
| H A D | create.c | 2362 unsigned short colidx[256]; local in function:ParseAndPutPixels 2378 bzero((char *)colidx, 256 * sizeof(short)); 2380 colidx[(unsigned char)colorTable[a].string[0]] = a + 1; 2387 if (c > 0 && c < 256 && colidx[c] != 0) { 2389 XPutPixel(image, x, y, image_pixels[colidx[c] - 1]); 2392 shape_pixels[colidx[c] - 1]); 2394 SetPixel(*dc, x, y, image_pixels[colidx[c] - 1]); 2396 SetPixel(shapedc, x, y, shape_pixels[colidx[c] - 1]);
|
Completed in 5 milliseconds