Lines Matching refs:height
157 void writePbm_(OutputBuffer& o_rOutputBuf, Stream* str, int width, int height, bool bWithLinefeed, … in writePbm_() argument
165 int nOutLen = snprintf(&o_rOutputBuf[3], WRITE_BUFFER_SIZE-10, "%d %d", width, height); in writePbm_()
172 const int size = height * ((width + 7) / 8); in writePbm_()
202 int height, in writePpm_() argument
212 int nOutLen = snprintf(&o_rOutputBuf[3], WRITE_BUFFER_SIZE-10, "%d %d", width, height); in writePpm_()
223 const int size = width*height*3 + header_size; in writePpm_()
242 for( int y=0; y<height; ++y) in writePpm_()
264 int height, in writePng_() argument
273 PngHelper::createPng( o_rOutputBuf, str, width, height, zeroColor, oneColor, bIsMask ); in writePng_()
282 int width, int height, GfxImageColorMap* colorMap, in writePng_() argument
290 …PngHelper::createPng( o_rOutputBuf, str, width, height, colorMap, maskStr, maskWidth, maskHeight, … in writePng_()
299 int width, int height, GfxImageColorMap* colorMap, in writePng_() argument
307 …PngHelper::createPng( o_rOutputBuf, str, width, height, colorMap, maskStr, maskWidth, maskHeight, … in writePng_()
315 void writeMask_( OutputBuffer& o_rOutputBuf, Stream* str, int width, int height, bool bWithLinefeed… in writeMask_() argument
320 writePbm_(o_rOutputBuf, str, width, height, bWithLinefeed, bInvert ); in writeMask_()
326 int height, in writeImage_() argument
351 writePng_( o_rOutputBuf, str, width, height, zeroColor, oneColor, false, bWithLinefeed ); in writeImage_()
354 writePpm_( o_rOutputBuf, str, width, height, colorMap, bWithLinefeed ); in writeImage_()
363 int height, in writeImage() argument
364 … GfxImageColorMap* colorMap ) { writeImage_(o_rOutputBuf,str,width,height,colorMap,false); } in writeImage()
368 int height, in writeImageLF() argument
369 … GfxImageColorMap* colorMap ) { writeImage_(o_rOutputBuf,str,width,height,colorMap,true); } in writeImageLF()
373 int height, in writeMask() argument
374 … bool bInvert ) { writeMask_(o_rOutputBuf,str,width,height,false,bInvert); } in writeMask()
378 int height, in writeMaskLF() argument
379 … bool bInvert ) { writeMask_(o_rOutputBuf,str,width,height,true,bInvert); } in writeMaskLF()
814 int width, int height, GBool invert, in drawImageMask() argument
819 printf( "drawMask %d %d %d", width, height, invert ); in drawImageMask()
830 writePng_( aBuf, str, width, height, oneColor, zeroColor, true, true ); in drawImageMask()
832 writePng_( aBuf, str, width, height, zeroColor, oneColor, true, true ); in drawImageMask()
835 writeMaskLF(aBuf, str, width, height, invert != 0); in drawImageMask()
840 int width, int height, GfxImageColorMap* colorMap, in drawImage() argument
846 printf( "drawImage %d %d", width, height ); in drawImage()
879 writeImageLF( aBuf, str, width, height, colorMap ); in drawImage()
885 int width, int height, in drawMaskedImage() argument
892 printf( "drawImage %d %d 0", width, height ); in drawMaskedImage()
893 … writePng_( aBuf, str, width, height, colorMap, maskStr, maskWidth, maskHeight, maskInvert, true ); in drawMaskedImage()
899 …printf( "drawMaskedImage %d %d %d %d %d", width, height, maskWidth, maskHeight, 0 /*maskInvert not… in drawMaskedImage()
900 writeImage( aBuf, str, width, height, colorMap ); in drawMaskedImage()
901 writeMaskLF( aMaskBuf, maskStr, width, height, maskInvert ); in drawMaskedImage()
908 int width, int height, in drawSoftMaskedImage() argument
915 printf( "drawImage %d %d 0", width, height ); in drawSoftMaskedImage()
916 …writePng_( aBuf, str, width, height, colorMap, maskStr, maskWidth, maskHeight, maskColorMap, true … in drawSoftMaskedImage()
922 printf( "drawSoftMaskedImage %d %d %d %d", width, height, maskWidth, maskHeight ); in drawSoftMaskedImage()
923 writeImage( aBuf, str, width, height, colorMap ); in drawSoftMaskedImage()