Lines Matching refs:nAlpha
352 int nAlpha; in readAlpha() local
361 nAlpha = data[ nOff ] = 255 - ( *pReadScan++ ); in readAlpha()
362 if( nAlpha != 255 ) in readAlpha()
370 nAlpha = data[ nOff ] = 255 - ( pAlphaReadAcc->GetPaletteColor( *pReadScan++ ).GetBlue() ); in readAlpha()
371 if( nAlpha != 255 ) in readAlpha()
379 nAlpha = data[ nOff ] = 255 - pAlphaReadAcc->GetColor( nY, nX ).GetBlue(); in readAlpha()
380 if( nAlpha != 255 ) in readAlpha()
438 unsigned int nAlpha = 255; in surfaceFromXBitmap() local
453 nAlpha = data[ nOff++ ]; in surfaceFromXBitmap()
455 nAlpha = data[ nOff++ ] = 255; in surfaceFromXBitmap()
458 nAlpha = data[ nOff + 3 ]; in surfaceFromXBitmap()
460 nAlpha = data[ nOff + 3 ] = 255; in surfaceFromXBitmap()
465 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( aColor.GetRed() ) )/255 ); in surfaceFromXBitmap()
466 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( aColor.GetGreen() ) )/255 ); in surfaceFromXBitmap()
467 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( aColor.GetBlue() ) )/255 ); in surfaceFromXBitmap()
469 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( aColor.GetBlue() ) )/255 ); in surfaceFromXBitmap()
470 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( aColor.GetGreen() ) )/255 ); in surfaceFromXBitmap()
471 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( aColor.GetRed() ) )/255 ); in surfaceFromXBitmap()
485 nAlpha = data[ nOff ]; in surfaceFromXBitmap()
487 nAlpha = data[ nOff ] = 255; in surfaceFromXBitmap()
488 data[ nOff + 3 ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
489 data[ nOff + 2 ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
490 data[ nOff + 1 ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
494 nAlpha = data[ nOff + 3 ]; in surfaceFromXBitmap()
496 nAlpha = data[ nOff + 3 ] = 255; in surfaceFromXBitmap()
497 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
498 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
499 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
513 nAlpha = data[ nOff++ ]; in surfaceFromXBitmap()
515 nAlpha = data[ nOff++ ] = 255; in surfaceFromXBitmap()
516 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
517 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
518 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
521 nAlpha = data[ nOff + 3 ]; in surfaceFromXBitmap()
523 nAlpha = data[ nOff + 3 ] = 255; in surfaceFromXBitmap()
524 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( pReadScan[ 2 ] ) )/255 ); in surfaceFromXBitmap()
525 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( pReadScan[ 1 ] ) )/255 ); in surfaceFromXBitmap()
526 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( pReadScan[ 0 ] ) )/255 ); in surfaceFromXBitmap()
541 nAlpha = data[ nOff++ ]; in surfaceFromXBitmap()
543 nAlpha = data[ nOff++ ] = pReadScan[ 3 ]; in surfaceFromXBitmap()
544 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( pReadScan[ 2 ] ) )/255 ); in surfaceFromXBitmap()
545 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( pReadScan[ 1 ] ) )/255 ); in surfaceFromXBitmap()
546 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( pReadScan[ 0 ] ) )/255 ); in surfaceFromXBitmap()
550 nAlpha = data[ nOff + 3 ]; in surfaceFromXBitmap()
552 nAlpha = data[ nOff + 3 ] = pReadScan[ 3 ]; in surfaceFromXBitmap()
553 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
554 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
555 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
570 nAlpha = data[ nOff ++ ]; in surfaceFromXBitmap()
572 nAlpha = data[ nOff ++ ] = 255; in surfaceFromXBitmap()
573 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
574 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
575 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( *pReadScan++ ) )/255 ); in surfaceFromXBitmap()
579 nAlpha = data[ nOff + 3 ]; in surfaceFromXBitmap()
581 nAlpha = data[ nOff + 3 ] = 255; in surfaceFromXBitmap()
582 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( pReadScan[ 2 ] ) )/255 ); in surfaceFromXBitmap()
583 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( pReadScan[ 1 ] ) )/255 ); in surfaceFromXBitmap()
584 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*( pReadScan[ 0 ] ) )/255 ); in surfaceFromXBitmap()
604 nAlpha = data[ nOff++ ]; in surfaceFromXBitmap()
606 nAlpha = data[ nOff++ ] = 255; in surfaceFromXBitmap()
607 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*aColor.GetRed() )/255 ); in surfaceFromXBitmap()
608 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*aColor.GetGreen() )/255 ); in surfaceFromXBitmap()
609 … data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*aColor.GetBlue() )/255 ); in surfaceFromXBitmap()
612 nAlpha = data[ nOff + 3 ]; in surfaceFromXBitmap()
614 nAlpha = data[ nOff + 3 ] = 255; in surfaceFromXBitmap()
615 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*aColor.GetBlue() )/255 ); in surfaceFromXBitmap()
616 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*aColor.GetGreen() )/255 ); in surfaceFromXBitmap()
617 data[ nOff++ ] = sal::static_int_cast<unsigned char>(( nAlpha*aColor.GetRed() )/255 ); in surfaceFromXBitmap()