Lines Matching refs:nAlpha
259 unsigned nAlpha = mpPixel[0];
260 nAlpha |= mpPixel[1] << 8U;
261 nAlpha |= mpPixel[2] << 16U;
262 return nAlpha;
265 void SetAlpha( unsigned nAlpha ) const
267 mpPixel[0] = nAlpha;
268 mpPixel[1] = nAlpha >> 8U;
269 mpPixel[2] = nAlpha >> 16U;
282 unsigned nAlpha = *reinterpret_cast<unsigned*>( mpPixel );
284 unsigned nAlpha = mpPixel[0];
285 nAlpha |= mpPixel[1] << 8U;
286 nAlpha |= mpPixel[2] << 16U;
287 nAlpha |= mpPixel[3] << 24U;
289 return nAlpha;
292 void SetAlpha( unsigned nAlpha ) const
295 *reinterpret_cast<unsigned*>( mpPixel ) = nAlpha;
297 mpPixel[0] = nAlpha;
298 mpPixel[1] = nAlpha >> 8U;
299 mpPixel[2] = nAlpha >> 16U;
300 mpPixel[3] = nAlpha >> 24U;