Lines Matching refs:nPos

126 void ImplImageList::RemoveImage( sal_uInt16 nPos )  in RemoveImage()  argument
128 ImageAryData *pImg = maImages[ nPos ]; in RemoveImage()
131 maImages.erase( maImages.begin() + nPos ); in RemoveImage()
284 void ImplImageBmp::Replace( sal_uInt16 nPos, sal_uInt16 nSrcPos ) in Replace() argument
286 const Point aSrcPos( nSrcPos * maSize.Width(), 0L ), aPos( nPos * maSize.Width(), 0L ); in Replace()
298 mpInfoAry[ nPos ] = mpInfoAry[ nSrcPos ]; in Replace()
303 void ImplImageBmp::Replace( sal_uInt16 nPos, const ImplImageBmp& rImageBmp, sal_uInt16 nSrcPos ) in Replace() argument
305 const Point aSrcPos( nSrcPos * maSize.Width(), 0L ), aPos( nPos * maSize.Width(), 0L ); in Replace()
311 ImplUpdateDisabledBmpEx( nPos ); in Replace()
315 mpInfoAry[ nPos ] = rImageBmp.mpInfoAry[ nSrcPos ]; in Replace()
320 void ImplImageBmp::Replace( sal_uInt16 nPos, const BitmapEx& rBmpEx ) in Replace() argument
322 const Point aNullPos, aPos( nPos * maSize.Width(), 0L ); in Replace()
328 ImplUpdateDisabledBmpEx( nPos ); in Replace()
332 mpInfoAry[ nPos ] &= ~( IMPSYSIMAGEITEM_MASK | IMPSYSIMAGEITEM_ALPHA ); in Replace()
333 …mpInfoAry[ nPos ] |= ( rBmpEx.IsAlpha() ? IMPSYSIMAGEITEM_ALPHA : ( rBmpEx.IsTransparent() ? IMPSY… in Replace()
386 void ImplImageBmp::Draw( sal_uInt16 nPos, OutputDevice* pOutDev, in Draw() argument
392 const Point aSrcPos( nPos * maSize.Width(), 0 ); in Draw()
399 ImplUpdateDisabledBmpEx( nPos); in Draw()
411 if( mpInfoAry[ nPos ] & ( IMPSYSIMAGEITEM_MASK | IMPSYSIMAGEITEM_ALPHA ) ) in Draw()
581 void ImplImageBmp::ImplUpdateDisabledBmpEx( int nPos ) in ImplUpdateDisabledBmpEx() argument
591 nPos = -1; in ImplUpdateDisabledBmpEx()
607 const Point aPos( ( nPos < 0 ) ? 0 : ( nPos * maSize.Width() ), 0 ); in ImplUpdateDisabledBmpEx()
608 …const int nLeft = aPos.X(), nRight = nLeft + ( ( nPos < 0 ) ? aTotalSize.Width() : maSize.Width()… in ImplUpdateDisabledBmpEx()