Lines Matching refs:aSize

288     Size aSize( GetCtrlTextWidth( pItem->maFormatText ), GetTextHeight() );  in ImplGetItemSize()  local
296 aSize.Width() += aImageSize.Width(); in ImplGetItemSize()
297 if( aImageSize.Height() > aSize.Height() ) in ImplGetItemSize()
298 aSize.Height() = aImageSize.Height(); in ImplGetItemSize()
300 aSize.Width() += TAB_TABOFFSET_X*2; in ImplGetItemSize()
301 aSize.Height() += TAB_TABOFFSET_Y*2; in ImplGetItemSize()
303 Rectangle aCtrlRegion( Point( 0, 0 ), aSize ); in ImplGetItemSize()
315 aSize.Width() += TAB_EXTRASPACE_X; in ImplGetItemSize()
319 aSize.Width() += TAB_EXTRASPACE_X-pItem->maFormatText.Len(); in ImplGetItemSize()
322 if ( aSize.Width()+4 >= nMaxWidth ) in ImplGetItemSize()
329 aSize.Width() = GetCtrlTextWidth( pItem->maFormatText ); in ImplGetItemSize()
330 aSize.Width() += aImageSize.Width(); in ImplGetItemSize()
331 aSize.Width() += TAB_TABOFFSET_X*2; in ImplGetItemSize()
333 while ( (aSize.Width()+4 >= nMaxWidth) && (pItem->maFormatText.Len() > aAppendStr.Len()) ); in ImplGetItemSize()
334 if ( aSize.Width()+4 >= nMaxWidth ) in ImplGetItemSize()
337 aSize.Width() = 1; in ImplGetItemSize()
343 if( aSize.Height() < aImageSize.Height()+4 ) //leave space for focus rect in ImplGetItemSize()
344 aSize.Height() = aImageSize.Height()+4; in ImplGetItemSize()
347 return aSize; in ImplGetItemSize()
411 Size aSize; in ImplGetTabRect() local
433 aSize = ImplGetItemSize( &(*it), nMaxWidth ); in ImplGetTabRect()
435 if ( ((nX+aSize.Width()) > nWidth - 2) && (nWidth > 2+nOffsetX) ) in ImplGetTabRect()
441 nY += aSize.Height(); in ImplGetTabRect()
447 Rectangle aNewRect( Point( nX, nY ), aSize ); in ImplGetTabRect()
454 nLineWidthAry[nLines] += aSize.Width(); in ImplGetTabRect()
455 nX += aSize.Width(); in ImplGetTabRect()