Lines Matching refs:nDiff
463 sal_uInt32 nDiff = pElement->nColorValueExtent[ 3 ] - pElement->nColorValueExtent[ 0 ] + 1; in ImplGetBitmapColor() local
465 if ( !nDiff ) in ImplGetBitmapColor()
466 nDiff++; in ImplGetBitmapColor()
467 nColor = ( ( nColor - pElement->nColorValueExtent[ 0 ] ) << 8 ) / nDiff; in ImplGetBitmapColor()
471 nDiff = pElement->nColorValueExtent[ 4 ] - pElement->nColorValueExtent[ 1 ] + 1; in ImplGetBitmapColor()
472 if ( !nDiff ) in ImplGetBitmapColor()
473 nDiff++; in ImplGetBitmapColor()
474 nColor = ( ( nColor - pElement->nColorValueExtent[ 1 ] ) << 8 ) / nDiff; in ImplGetBitmapColor()
478 nDiff = pElement->nColorValueExtent[ 5 ] - pElement->nColorValueExtent[ 2 ] + 1; in ImplGetBitmapColor()
479 if ( !nDiff ) in ImplGetBitmapColor()
480 nDiff++; in ImplGetBitmapColor()
481 nColor = ( ( nColor - pElement->nColorValueExtent[ 2 ] ) << 8 ) / nDiff; in ImplGetBitmapColor()