Lines Matching refs:nBytesPerPixel
403 int nHeight, int nBytesPerPixel) in handleCursorShapeChange() argument
413 const int nSSize = nWidth * nHeight * nBytesPerPixel; in handleCursorShapeChange()
416 if (nBytesPerPixel == 2 || nBytesPerPixel == 4) in handleCursorShapeChange()
421 for (int i = (nBytesPerPixel - 1); i < nSSize; i += nBytesPerPixel) in handleCursorShapeChange()
435 Fl_RGB_Image * img = new Fl_RGB_Image(cl->rcSource, nWidth, nHeight, nBytesPerPixel); in handleCursorShapeChange()
890 int nBytesPerPixel = cl->format.bitsPerPixel / 8; in draw() local
906 nBytesPerPixel, in draw()
918 int isize = cl->width * cl->height * nBytesPerPixel; in draw()
921 if (nBytesPerPixel == 2 || nBytesPerPixel == 4) in draw()
923 for (int i = (nBytesPerPixel - 1); i < isize; i+= nBytesPerPixel) in draw()
927 imgZ = new Fl_RGB_Image(cl->frameBuffer, cl->width, cl->height, nBytesPerPixel); in draw()