Home | History | Annotate | Download | only in Carbon

Lines Matching refs:bounds

310 	HIRect				bounds;
329 HIViewGetBounds( inView->fViewRef, &bounds );
337 OffsetRect( &drawRect, (SInt16)-bounds.origin.x, (SInt16)-bounds.origin.y );
340 hiRect.origin.y = bounds.size.height - drawRect.bottom; // flip y
400 HIRect bounds;
402 HIViewGetBounds( view->fViewRef, &bounds );
404 if ( CGRectContainsPoint( bounds, *where ) )
426 HIRect bounds;
429 HIViewGetBounds( inView->fViewRef, &bounds );
431 temp.top = (SInt16)bounds.origin.y;
432 temp.left = (SInt16)bounds.origin.x;
433 temp.bottom = (SInt16)CGRectGetMaxY( bounds );
434 temp.right = (SInt16)CGRectGetMaxX( bounds );
737 Rect bounds;
738 GetWindowBounds(window, kWindowStructureRgn, &bounds);
739 where.h -= bounds.left;
740 where.v -= bounds.top;
805 Rect bounds;
809 GetControlBounds( inView->fViewRef, &bounds );
810 OffsetRect( &bounds, -(**portPix).bounds.left, -(**portPix).bounds.top );
812 // printf( "control lives at %d %d %d %d in window-coords\n", bounds.top, bounds.left,
813 // bounds.bottom, bounds.right );
817 frame.origin.x = bounds.left;
818 frame.origin.y = rootFrame.size.height - bounds.bottom;
819 frame.size.width = bounds.right - bounds.left;
820 frame.size.height = bounds.bottom - bounds.top;