Lines Matching defs:pixel
572 alpha. This is handled here by doing a pixel by pixel conversion.
713 // The incoming pixel values already include alpha, fill-opacity, etc.,
722 guint32 *pixel = reinterpret_cast<guint32 *>(row_data) + i;
723 float lum_alpha = (((*pixel & 0x00ff0000) >> 16) * coeff_r +
724 ((*pixel & 0x0000ff00) >> 8) * coeff_g +
725 ((*pixel & 0x000000ff) ) * coeff_b );
728 // six hexadecimal numbers of *pixel are.
729 *pixel = (guint32)(0xff000000 * lum_alpha * opacity);
1058 // Subtract 0.5 to prevent small rounding errors from increasing pattern size by one pixel.
1059 // Multiply by SUBPIX_SCALE to allow for less than a pixel precision
1150 // Subtract 0.5 to prevent small rounding errors from increasing pattern size by one pixel.
1151 // Multiply by SUBPIX_SCALE to allow for less than a pixel precision