AppKit/CoreGraphics/CGGeometry.j File Reference

#include "CGGeometry.h"

Go to the source code of this file.

Functions

rhsPoint height rhsSize height
rhsRect dY aPoint function 
CGRectContainsRect (lhsRect, rhsRect)
function CGRectIntersectsRect (lhsRect, rhsRect)
function CGRectIntegral (aRect)
function CGRectIntersection (lhsRect, rhsRect)
function CGRectStandardize (aRect)
function CGRectUnion (lhsRect, rhsRect)
function CGPointFromString (aString)
function CGSizeFromString (aString)
function CGRectFromString (aString)
function CGPointFromEvent (anEvent)

Variables

rhsPoint height rhsSize y
rhsPoint height rhsSize width
rhsPoint height rhsSize height
rhsRect 
dX


Function Documentation

function CGPointFromEvent ( anEvent   ) 

Definition at line 202 of file CGGeometry.j.

function CGPointFromString ( aString   ) 

Definition at line 181 of file CGGeometry.j.

rhsPoint height rhsSize height rhsRect dY aPoint function CGRectContainsRect ( lhsRect  ,
rhsRect   
)

Returns a BOOL indicating whether CGRect lhsRect contains CGRect rhsRect. CGRect

Parameters:
lhsRect the CGRect to test if rhsRect is inside of
rhsRect the CGRect to test if it fits inside lhsRect.
Returns:
BOOL YES if rhsRect fits inside lhsRect.

Definition at line 76 of file CGGeometry.j.

function CGRectFromString ( aString   ) 

Definition at line 195 of file CGGeometry.j.

function CGRectIntegral ( aRect   ) 

Makes the origin and size of a CGRect all integers. Specifically, by making the southwest corner the origin (rounded down), and the northeast corner a CGSize (rounded up).

Parameters:
aRect the rectangle to operate on
Returns:
CGRect the modified rectangle (same as the input) CGRect

Definition at line 104 of file CGGeometry.j.

function CGRectIntersection ( lhsRect  ,
rhsRect   
)

Returns the intersection of the two provided rectangles as a new rectangle.

Parameters:
lhsRect the first rectangle used for calculation
rhsRect the second rectangle used for calculation
Returns:
CGRect the intersection of the two rectangles CGRect

Definition at line 128 of file CGGeometry.j.

function CGRectIntersectsRect ( lhsRect  ,
rhsRect   
)

Returns YES if the two rectangles intersect CGRect

Parameters:
lhsRect the first CGRect
rhsRect the second CGRect
Returns:
BOOL YES if the two rectangles have any common spaces, and NO, otherwise.

Definition at line 90 of file CGGeometry.j.

function CGRectStandardize ( aRect   ) 

Definition at line 144 of file CGGeometry.j.

function CGRectUnion ( lhsRect  ,
rhsRect   
)

Definition at line 171 of file CGGeometry.j.

function CGSizeFromString ( aString   ) 

Definition at line 188 of file CGGeometry.j.


Variable Documentation

rhsPoint height rhsSize height rhsRect dX

Definition at line 51 of file CGGeometry.j.

rhsPoint height rhsSize width

Definition at line 43 of file CGGeometry.j.

rhsPoint height rhsSize y

Definition at line 43 of file CGGeometry.j.


Generated on Thu Dec 11 01:55:47 2008 for Cappuccino by  doxygen 1.5.7.1