Lines Matching refs:size
109 aHIRect.size.width = static_cast<float>(aRect.GetWidth()); in ImplGetHIRectFromRectangle()
110 aHIRect.size.height = static_cast<float>(aRect.GetHeight()); in ImplGetHIRectFromRectangle()
542 rc.size.width += 2; in drawNativeControl()
543 rc.size.height += 2; in drawNativeControl()
557 rc.size.width += 2; in drawNativeControl()
625 int nPaintHeight = static_cast<int>(rc.size.height); in drawNativeControl()
631 else if( rc.size.height <= PB_Norm_Height ) in drawNativeControl()
636 else if( pPBVal->mbSingleLine || rc.size.height < (PB_Norm_Height + PB_Norm_Height/2) ) in drawNativeControl()
643 rc.size.width -= FOCUS_RING_WIDTH; in drawNativeControl()
657 int delta_y = static_cast<int>(rc.size.height) - nPaintHeight; in drawNativeControl()
681 … case CTRL_RADIOBUTTON: if(rc.size.width >= BUTTON_HEIGHT) aInfo.kind = kThemeRadioButton; in drawNativeControl()
684 case CTRL_CHECKBOX: if(rc.size.width >= BUTTON_HEIGHT) aInfo.kind = kThemeCheckBox; in drawNativeControl()
720 CGFloat x = rc.origin.x + rc.size.width; in drawNativeControl()
723 y += rc.size.height; in drawNativeControl()
725 x -= rc.size.height * 0.866; // cos( 30 degree ) is approx. 0.866 in drawNativeControl()
726 y -= rc.size.height/2; in drawNativeControl()
768 …aTrackInfo.kind = (rc.size.height > 10) ? kThemeProgressBarLarge : kThemeProgressB… in drawNativeControl()
771 aTrackInfo.max = static_cast<SInt32>(rc.size.width); in drawNativeControl()
775 aTrackInfo.bounds.size.width -= 2; // FIXME: magic for shadow in drawNativeControl()
832 rc.size.height += 2; in drawNativeControl()
834 rc.size.width += 2; in drawNativeControl()
884 aTabPaneDrawInfo.size=kHIThemeTabSizeNormal; in drawNativeControl()
889 rc.size.width-=2; in drawNativeControl()
902 aTabItemDrawInfo.size=kHIThemeTabSizeNormal; in drawNativeControl()
916 rc.size.height=TAB_HEIGHT_NORMAL; in drawNativeControl()
930 aTabPaneDrawInfo.size=kHIThemeTabSizeNormal; in drawNativeControl()
937 rc.size.height+=TAB_HEIGHT_NORMAL/2; in drawNativeControl()
938 rc.size.width-=2; in drawNativeControl()
952 aTabItemDrawInfo.size=kHIThemeTabSizeNormal; in drawNativeControl()
989 rc.size.width+=2;//because VCL has 2 empty pixels between 2 tabs in drawNativeControl()
1027 rc.size.width+=1;//else there's a white space because aqua theme hasn't a 3D border in drawNativeControl()
1028 rc.size.height+=1; in drawNativeControl()
1048 … rc.size.width += 1; // else there may be a white space because aqua theme hasn't a 3D border in drawNativeControl()
1051 rc.size.width += 2; in drawNativeControl()
1052 rc.size.height += 2; in drawNativeControl()
1055 …CGContextFillRect (mrContext, CGRectMake(rc.origin.x, rc.origin.y, rc.size.width, rc.size.height)); in drawNativeControl()
1079 rc.size.width -= SPIN_BUTTON_SPACE + SPIN_BUTTON_WIDTH + 2*FOCUS_RING_WIDTH; in drawNativeControl()
1084 …CGContextFillRect (mrContext, CGRectMake(rc.origin.x, rc.origin.y, rc.size.width, rc.size.height)); in drawNativeControl()
1158 if( rc.origin.y + rc.size.height >= mpFrame->maGeometry.nHeight-3 ) in drawNativeControl()
1206 if( aRect.size.width != 0 && aRect.size.height != 0 ) in drawNativeControl()
1209 Size( static_cast<long int>(aRect.size.width), in drawNativeControl()
1210 static_cast<long int>(aRect.size.height) ) ) ); in drawNativeControl()