Lines Matching refs:aSize

286 	Size aSize( GetCtrlTextWidth( pItem->maFormatText ), GetTextHeight() );  in ImplGetItemSize()  local
294 aSize.Width() += aImageSize.Width(); in ImplGetItemSize()
295 if( aImageSize.Height() > aSize.Height() ) in ImplGetItemSize()
296 aSize.Height() = aImageSize.Height(); in ImplGetItemSize()
298 aSize.Width() += TAB_TABOFFSET_X*2; in ImplGetItemSize()
299 aSize.Height() += TAB_TABOFFSET_Y*2; in ImplGetItemSize()
301 Rectangle aCtrlRegion( Point( 0, 0 ), aSize ); in ImplGetItemSize()
313 aSize.Width() += TAB_EXTRASPACE_X; in ImplGetItemSize()
317 aSize.Width() += TAB_EXTRASPACE_X-pItem->maFormatText.Len(); in ImplGetItemSize()
320 if ( aSize.Width()+4 >= nMaxWidth ) in ImplGetItemSize()
327 aSize.Width() = GetCtrlTextWidth( pItem->maFormatText ); in ImplGetItemSize()
328 aSize.Width() += aImageSize.Width(); in ImplGetItemSize()
329 aSize.Width() += TAB_TABOFFSET_X*2; in ImplGetItemSize()
331 while ( (aSize.Width()+4 >= nMaxWidth) && (pItem->maFormatText.Len() > aAppendStr.Len()) ); in ImplGetItemSize()
332 if ( aSize.Width()+4 >= nMaxWidth ) in ImplGetItemSize()
335 aSize.Width() = 1; in ImplGetItemSize()
341 if( aSize.Height() < aImageSize.Height()+4 ) // leave space for focus rect in ImplGetItemSize()
342 aSize.Height() = aImageSize.Height()+4; in ImplGetItemSize()
345 return aSize; in ImplGetItemSize()
409 Size aSize; in ImplGetTabRect() local
431 aSize = ImplGetItemSize( &(*it), nMaxWidth ); in ImplGetTabRect()
433 if ( ((nX+aSize.Width()) > nWidth - 2) && (nWidth > 2+nOffsetX) ) in ImplGetTabRect()
439 nY += aSize.Height(); in ImplGetTabRect()
445 Rectangle aNewRect( Point( nX, nY ), aSize ); in ImplGetTabRect()
452 nLineWidthAry[nLines] += aSize.Width(); in ImplGetTabRect()
453 nX += aSize.Width(); in ImplGetTabRect()