Classes | |
| class | CPAlert |
| class | CPAnimation |
| class | CPApplication |
| class | CPBezierPath |
| class | CPButton |
| class | CPCib |
| class | CPClipView |
| class | CPCollectionView |
| class | CPColorPanel |
| class | CPColorPicker |
| class | CPColorWell |
| class | CPControl |
| class | CPCookie |
| class | CPDocument |
| class | CPDocumentController |
| class | CPEvent |
| class | CPFlashMovie |
| class | CPFlashView |
| class | CPFont |
| class | CPFontManager |
| class | CPGraphicsContext |
| class | CPImage |
| class | CPImageView |
| class | CPMenu |
| class | CPMenuItem |
| class | CPPanel |
| class | CPPasteboard |
| class | CPPopUpButton |
| class | CPProgressIndicator |
| class | CPRadio |
| class | CPResponder |
| class | CPScroller |
| class | CPScrollView |
| class | CPSearchField |
| class | CPSecureTextField |
| class | CPSegmentedControl |
| class | CPShadowView |
| class | CPSlider |
| class | CPSplitView |
| class | CPTableView |
| class | CPTabView |
| class | CPTabViewItem |
| class | CPTextField |
| class | CPTheme |
| class | CPThemeBlend |
| class | CPToolbar |
| class | CPToolbarItem |
| class | CPView |
| class | CPWebView |
| class | CPWindow |
| class | CPWindowController |
Functions | |
| function | CGInsetFromString (aString) |
| function | CGPointFromEvent (anEvent) |
| function | CGPointFromString (aString) |
| function | CGRectContainsRect (lhsRect, rhsRect) |
| function | CGRectFromString (aString) |
| function | CGRectIntegral (aRect) |
| function | CGRectIntersection (lhsRect, rhsRect) |
| function | CGRectIntersectsRect (lhsRect, rhsRect) |
| function | CGRectStandardize (aRect) |
| function | CGRectUnion (lhsRect, rhsRect) |
| function | CGSizeFromString (aString) |
| function | CPPointCreateCopy (aPoint) |
| function | CPPointEqualToPoint (lhsPoint, rhsPoint) |
| function | CPPointFromEvent (anEvent) |
| function | CPPointFromString (aString) |
| function | CPPointMake (x, y) |
| function | CPPointMakeZero () |
| function | CPRectContainsPoint (aRect, aPoint) |
| function | CPRectContainsRect (possibleOuter, possibleInner) |
| function | CPRectCreateCopy (aRect) |
| function | CPRectEqualToRect (lhsRect, rhsRect) |
| function | CPRectFromString (aString) |
| function | CPRectGetHeight (aRect) |
| function | CPRectGetMaxX (aRect) |
| function | CPRectGetMaxY (aRect) |
| function | CPRectGetMidX (aRect) |
| function | CPRectGetMidY (aRect) |
| function | CPRectGetMinX (aRect) |
| function | CPRectGetMinY (aRect) |
| function | CPRectGetWidth (aRect) |
| function | CPRectInset (aRect, dX, dY) |
| function | CPRectIntegral (aRect) |
| function | CPRectIntersection (lhsRect, rhsRect) |
| function | CPRectIntersectsRect (lhsRect, rhsRect) |
| function | CPRectIsEmpty (aRect) |
| function | CPRectIsNull (aRect) |
| function | CPRectMake (x, y, width, height) |
| function | CPRectMakeZero () |
| function | CPRectOffset (aRect, dX, dY) |
| function | CPRectStandardize (aRect) |
| function | CPRectUnion (lhsRect, rhsRect) |
| function | CPSizeCreateCopy (aSize) |
| function | CPSizeEqualToSize (lhsSize, rhsSize) |
| function | CPSizeFromString (aString) |
| function | CPSizeMake (width, height) |
| function | CPSizeMakeZero () |
| function | CPStringFromCGInset (anInset) |
| function | CPStringFromPoint (aPoint) |
| function | CPStringFromRect (aRect) |
| function | CPStringFromSize (aSize) |
Variables | |
| CGInsetFromCPString = CGInsetFromString | |
| function CGInsetFromString | ( | aString | ) |
Definition at line 222 of file CGGeometry.j.
| function CGPointFromEvent | ( | anEvent | ) |
Definition at line 217 of file CGGeometry.j.
| function CGPointFromString | ( | aString | ) |
Definition at line 196 of file CGGeometry.j.
| function CGRectContainsRect | ( | lhsRect | , | |
| rhsRect | ||||
| ) |
Returns a BOOL indicating whether CGRect lhsRect contains CGRect rhsRect. CGRect
| lhsRect | the CGRect to test if rhsRect is inside of | |
| rhsRect | the CGRect to test if it fits inside lhsRect. |
YES if rhsRect fits inside lhsRect. Definition at line 88 of file CGGeometry.j.
| function CGRectFromString | ( | aString | ) |
Definition at line 210 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).
| aRect | the rectangle to operate on |
Definition at line 116 of file CGGeometry.j.
| function CGRectIntersection | ( | lhsRect | , | |
| rhsRect | ||||
| ) |
Returns the intersection of the two provided rectangles as a new rectangle.
| lhsRect | the first rectangle used for calculation | |
| rhsRect | the second rectangle used for calculation |
Definition at line 140 of file CGGeometry.j.
| function CGRectIntersectsRect | ( | lhsRect | , | |
| rhsRect | ||||
| ) |
Returns YES if the two rectangles intersect CGRect
| lhsRect | the first CGRect | |
| rhsRect | the second CGRect |
YES if the two rectangles have any common spaces, and NO, otherwise. Definition at line 102 of file CGGeometry.j.
| function CGRectStandardize | ( | aRect | ) |
Definition at line 156 of file CGGeometry.j.
| function CGRectUnion | ( | lhsRect | , | |
| rhsRect | ||||
| ) |
Definition at line 177 of file CGGeometry.j.
| function CGSizeFromString | ( | aString | ) |
Definition at line 203 of file CGGeometry.j.
| function CPPointCreateCopy | ( | aPoint | ) |
Creates a copy of a specified point and returns the copy CGPoint
| the | point to be copied |
Definition at line 47 of file CPGeometry.j.
| function CPPointEqualToPoint | ( | lhsPoint | , | |
| rhsPoint | ||||
| ) |
Tests whether the two CGPoints are equal to each other by comparing their x and y members.
| lhsPoint | the first CGPoint to check | |
| rhsPoint | the second CGPoint to check |
YES if the two points have the same x's, and the same y's. Definition at line 250 of file CPGeometry.j.
| function CPPointFromEvent | ( | anEvent | ) |
| function CPPointFromString | ( | aString | ) |
Returns a CGPoint from a string with a comma separated pair of integers. CGPoint
| aString | a string containing two comma separated integers |
Definition at line 434 of file CPGeometry.j.
| function CPPointMake | ( | x | , | |
| y | ||||
| ) |
Makes a CGPoint object out of two numbers provided as arguments CGPoint
| x | the x-coordinate of the CGPoint | |
| y | the y-coordinate of the CGPoint |
Definition at line 59 of file CPGeometry.j.
| function CPPointMakeZero | ( | ) |
Returns a point located at (0, 0). CGPoint
(0, 0) Definition at line 502 of file CPGeometry.j.
| function CPRectContainsPoint | ( | aRect | , | |
| aPoint | ||||
| ) |
Returns YES if the CGRect, aRect, contains the CGPoint, aPoint.
| aRect | the rectangle to test with | |
| aPoint | the point to test with CGRect |
YES if the rectangle contains the point, NO otherwise. Definition at line 221 of file CPGeometry.j.
| function CPRectContainsRect | ( | possibleOuter | , | |
| possibleInner | ||||
| ) |
Returns a BOOL indicating whether CGRect possibleOuter contains CGRect possibleInner. CGRect
| possibleOuter | the CGRect to test if possibleInner is inside of | |
| possibleInner | the CGRect to test if it fits inside possibleOuter. |
YES if possibleInner fits inside possibleOuter. Definition at line 237 of file CPGeometry.j.
| function CPRectCreateCopy | ( | aRect | ) |
Creates a copy of the provided rectangle CGRect
| aRect | the CGRect that will be copied |
Definition at line 115 of file CPGeometry.j.
| function CPRectEqualToRect | ( | lhsRect | , | |
| rhsRect | ||||
| ) |
Test whether the two CGRects have the same origin and size CGRect
| lhsRect | the first CGRect to compare | |
| rhsRect | the second CGRect to compare |
YES if the two rectangles have the same origin and size. NO, otherwise. Definition at line 262 of file CPGeometry.j.
| function CPRectFromString | ( | aString | ) |
Returns a CGRect created from a string. CGRect
| aString | a string in the form generated by CPStringFromRect |
Definition at line 460 of file CPGeometry.j.
| function CPRectGetHeight | ( | aRect | ) |
| function CPRectGetMaxX | ( | aRect | ) |
| function CPRectGetMaxY | ( | aRect | ) |
| function CPRectGetMidX | ( | aRect | ) |
| function CPRectGetMidY | ( | aRect | ) |
| function CPRectGetMinX | ( | aRect | ) |
| function CPRectGetMinY | ( | aRect | ) |
| function CPRectGetWidth | ( | aRect | ) |
| function CPRectInset | ( | aRect | , | |
| dX | , | |||
| dY | ||||
| ) |
Makes a CGRect with an origin and size equal to aRect less the dX/dY insets specified.
| dX | the size of the inset in the x-axis | |
| dY | the size of the inset in the y-axis CGRect |
aRect with an inset Definition at line 71 of file CPGeometry.j.
| function CPRectIntegral | ( | aRect | ) |
| function CPRectIntersection | ( | lhsRect | , | |
| rhsRect | ||||
| ) |
Returns the intersection of the two provided rectangles as a new rectangle CGRect
| lhsRect | the first rectangle used for calculation | |
| rhsRect | the second rectangle used for calculation |
Definition at line 96 of file CPGeometry.j.
| function CPRectIntersectsRect | ( | lhsRect | , | |
| rhsRect | ||||
| ) |
Returns YES if the two rectangles intersect CGRect
| lhsRect | the first CGRect | |
| rhsRect | the second CGRect |
YES if the two rectangles have any common spaces, and NO, otherwise. Definition at line 355 of file CPGeometry.j.
| function CPRectIsEmpty | ( | aRect | ) |
Returns YES if the CGRect has no area. The test is performed by checking if the width and height are both zero. CGRect
| aRect | the CGRect to test |
YES if the CGRect has no area, and NO, otherwise. Definition at line 367 of file CPGeometry.j.
| function CPRectIsNull | ( | aRect | ) |
Returns YES if the CGRect has no area. The test is performed by checking if the width and height are both zero. CGRect
YES if the CGRect has no area, and NO, otherwise. Definition at line 378 of file CPGeometry.j.
Returns a CGRect made of the specified arguments CGRect
| x | the x-coordinate of the rectangle's origin | |
| y | the y-coordinate of the rectangle's origin | |
| width | the width of the new rectangle | |
| height | the height of the new rectangle |
Definition at line 129 of file CPGeometry.j.
| function CPRectMakeZero | ( | ) |
Returns a rectangle at origin (0,0) and size of (0,0). CGRect
Definition at line 492 of file CPGeometry.j.
| function CPRectOffset | ( | aRect | , | |
| dX | , | |||
| dY | ||||
| ) |
Creates a new rectangle with its origin offset by dX and dY. CGRect
| aRect | the rectangle to copy the origin and size from | |
| dX | the amount added to the x-size of the new rectangle | |
| dY | the amount added to the y-size of the new rectangle |
Definition at line 142 of file CPGeometry.j.
| function CPRectStandardize | ( | aRect | ) |
| function CPRectUnion | ( | lhsRect | , | |
| rhsRect | ||||
| ) |
Returns the smallest rectangle that can contain the two argument CGRects. CGRect
| lhsRect | the first CGRect to use for the union calculation | |
| rhsRect | the second CGRect to use for the union calculation |
Definition at line 180 of file CPGeometry.j.
| function CPSizeCreateCopy | ( | aSize | ) |
Creates and returns a copy of the provided CGSize CGSize
| aSize | the CGSize to copy |
Definition at line 196 of file CPGeometry.j.
| function CPSizeEqualToSize | ( | lhsSize | , | |
| rhsSize | ||||
| ) |
Returns YES if the two CGSizes are identical. CGSize
| lhsSize | the first CGSize to compare | |
| rhsSize | the second CGSize to compare |
YES if the two sizes are identical. NO, otherwise. Definition at line 390 of file CPGeometry.j.
| function CPSizeFromString | ( | aString | ) |
Returns a CGSize from a string containing a pair of comma separated integers. CGSize
| aString | a string containing two comma separated integers |
Definition at line 447 of file CPGeometry.j.
Creates and returns a new CGSize object from the provided dimensions. CGSize
| width | the width for the new CGSize | |
| height | the height for the new CGSize |
Definition at line 208 of file CPGeometry.j.
| function CPSizeMakeZero | ( | ) |
Returns a zero sized CGSize. CGSize
width and height Definition at line 482 of file CPGeometry.j.
| function CPStringFromCGInset | ( | anInset | ) |
Definition at line 231 of file CGGeometry.j.
| function CPStringFromPoint | ( | aPoint | ) |
Returns a human readable string of the provided CGPoint. CGPoint
| aPoint | the point to represent |
Definition at line 401 of file CPGeometry.j.
| function CPStringFromRect | ( | aRect | ) |
Returns a human readable string of the provided CGRect. CGRect
| aRect | the rectangle to represent |
Definition at line 423 of file CPGeometry.j.
| function CPStringFromSize | ( | aSize | ) |
Returns a human readable string of the provided CGSize. CGSize
| aSize | the size to represent |
Definition at line 412 of file CPGeometry.j.
| CGInsetFromCPString = CGInsetFromString |
Definition at line 229 of file CGGeometry.j.
1.6.1