Lines Matching refs:alpha
210 // stupid applications like ArtPaint use the alpha channel in B_RGB32 images...
212 if (color.alpha >= 128)
213 color.alpha = 255;
215 color.alpha = 0;
237 color.alpha = 0;
238 // the alpha channel is actually unused
248 /** This function is used to determine, if a true alpha channel has to
311 // reading the alpha channel failed, so we're ignoring it
362 // set alpha channel
367 outRowData[x].alpha = 255;
368 } else if (outRowData[x].alpha == 0)
463 // the alpha channel has already been written with the image data
472 bool transparent = *(uint32 *)&color == B_TRANSPARENT_MAGIC_RGBA32 || color.alpha == 0;
648 // clear alpha channel (it's not used in ICO color information)
650 palette[i].alpha = 0;
743 // When bits_per_pixel == 32, the data already contains the alpha channel