Searched defs:fileWidth (Results 1 - 2 of 2) sorted by relevance
/ast/src/lib/libtk/generic/ |
H A D | tkImgPPM.c | 136 int fileWidth, fileHeight, maxIntensity; 141 type = ReadPPMFileHeader(f, &fileWidth, &fileHeight, &maxIntensity); 147 if ((fileWidth <= 0) || (fileHeight <= 0)) { 162 if ((srcX + width) > fileWidth) { 163 width = fileWidth - srcX; 169 || (srcX >= fileWidth) || (srcY >= fileHeight)) { 186 block.pitch = block.pixelSize * fileWidth; 134 int fileWidth, fileHeight, maxIntensity; local
|
H A D | tkImgGIF.c | 155 int fileWidth, fileHeight; 165 if (!ReadGIFHeader(f, &fileWidth, &fileHeight)) { 170 if ((fileWidth <= 0) || (fileHeight <= 0)) { 189 if ((srcX + width) > fileWidth) { 190 width = fileWidth - srcX; 196 || (srcX >= fileWidth) || (srcY >= fileHeight)) { 202 block.width = fileWidth; 205 block.pitch = 3 * fileWidth; 269 if (ReadImage(interp, (char *) block.pixelPtr, f, fileWidth, 275 if (ReadImage(interp, (char *) block.pixelPtr, f, fileWidth, 153 int fileWidth, fileHeight; local [all...] |
Completed in 1572 milliseconds