Mac OS 9
CGGeometry.h File Reference

xxx put contents here xxx More...

#include <CGBase.h>

Go to the source code of this file.

Data Structures

struct  CGPoint
 
struct  CGSize
 
struct  CGRect
 

Typedefs

typedef struct CGPoint CGPoint
 
typedef struct CGSize CGSize
 
typedef struct CGRect CGRect
 
typedef enum CGRectEdge CGRectEdge
 

Enumerations

enum  CGRectEdge { CGRectMinXEdge = 0 , CGRectMinYEdge = 1 , CGRectMaxXEdge = 2 , CGRectMaxYEdge = 3 }
 

Functions

CGPoint CGPointMake (float x, float y)
 
CGSize CGSizeMake (float width, float height)
 
CGRect CGRectMake (float x, float y, float width, float height)
 
float CGRectGetMinX (CGRect rect)
 
float CGRectGetMidX (CGRect rect)
 
float CGRectGetMaxX (CGRect rect)
 
float CGRectGetMinY (CGRect rect)
 
float CGRectGetMidY (CGRect rect)
 
float CGRectGetMaxY (CGRect rect)
 
float CGRectGetWidth (CGRect rect)
 
float CGRectGetHeight (CGRect rect)
 
int CGPointEqualToPoint (CGPoint point1, CGPoint point2)
 
int CGSizeEqualToSize (CGSize size1, CGSize size2)
 
int CGRectEqualToRect (CGRect rect1, CGRect rect2)
 
CGRect CGRectStandardize (CGRect rect)
 
int CGRectIsEmpty (CGRect rect)
 
int CGRectIsNull (CGRect rect)
 
CGRect CGRectInset (CGRect rect, float dx, float dy)
 
CGRect CGRectIntegral (CGRect rect)
 
CGRect CGRectUnion (CGRect r1, CGRect r2)
 
CGRect CGRectIntersection (CGRect r1, CGRect r2)
 
CGRect CGRectOffset (CGRect rect, float dx, float dy)
 
void CGRectDivide (CGRect rect, CGRect *slice, CGRect *remainder, float amount, CGRectEdge edge)
 
int CGRectContainsPoint (CGRect rect, CGPoint point)
 
int CGRectContainsRect (CGRect rect1, CGRect rect2)
 
int CGRectIntersectsRect (CGRect rect1, CGRect rect2)
 

Variables

const CGPoint CGPointZero
 
const CGSize CGSizeZero
 
const CGRect CGRectZero
 
const CGRect CGRectNull
 

Detailed Description

xxx put contents here xxx

Introduced In: from CoreGraphics-70.root
Avaliable From: Universal Interfaces 3.4.1
Copyright: � 2000-2001 by Apple Computer, Inc., all rights reserved.

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Function Documentation

◆ CGPointEqualToPoint()

int CGPointEqualToPoint ( CGPoint  point1,
CGPoint  point2 
)

CGPointEqualToPoint()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGPointMake()

CGPoint CGPointMake ( float  x,
float  y 
)

CGPointMake()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectContainsPoint()

int CGRectContainsPoint ( CGRect  rect,
CGPoint  point 
)

CGRectContainsPoint()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectContainsRect()

int CGRectContainsRect ( CGRect  rect1,
CGRect  rect2 
)

CGRectContainsRect()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectDivide()

void CGRectDivide ( CGRect  rect,
CGRect slice,
CGRect remainder,
float  amount,
CGRectEdge  edge 
)

CGRectDivide()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectEqualToRect()

int CGRectEqualToRect ( CGRect  rect1,
CGRect  rect2 
)

CGRectEqualToRect()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectGetHeight()

float CGRectGetHeight ( CGRect  rect)

CGRectGetHeight()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectGetMaxX()

float CGRectGetMaxX ( CGRect  rect)

CGRectGetMaxX()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectGetMaxY()

float CGRectGetMaxY ( CGRect  rect)

CGRectGetMaxY()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectGetMidX()

float CGRectGetMidX ( CGRect  rect)

CGRectGetMidX()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectGetMidY()

float CGRectGetMidY ( CGRect  rect)

CGRectGetMidY()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectGetMinX()

float CGRectGetMinX ( CGRect  rect)

CGRectGetMinX()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectGetMinY()

float CGRectGetMinY ( CGRect  rect)

CGRectGetMinY()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectGetWidth()

float CGRectGetWidth ( CGRect  rect)

CGRectGetWidth()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectInset()

CGRect CGRectInset ( CGRect  rect,
float  dx,
float  dy 
)

CGRectInset()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectIntegral()

CGRect CGRectIntegral ( CGRect  rect)

CGRectIntegral()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectIntersection()

CGRect CGRectIntersection ( CGRect  r1,
CGRect  r2 
)

CGRectIntersection()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectIntersectsRect()

int CGRectIntersectsRect ( CGRect  rect1,
CGRect  rect2 
)

CGRectIntersectsRect()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectIsEmpty()

int CGRectIsEmpty ( CGRect  rect)

CGRectIsEmpty()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectIsNull()

int CGRectIsNull ( CGRect  rect)

CGRectIsNull()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectMake()

CGRect CGRectMake ( float  x,
float  y,
float  width,
float  height 
)

CGRectMake()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectOffset()

CGRect CGRectOffset ( CGRect  rect,
float  dx,
float  dy 
)

CGRectOffset()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectStandardize()

CGRect CGRectStandardize ( CGRect  rect)

CGRectStandardize()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectUnion()

CGRect CGRectUnion ( CGRect  r1,
CGRect  r2 
)

CGRectUnion()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGSizeEqualToSize()

int CGSizeEqualToSize ( CGSize  size1,
CGSize  size2 
)

CGSizeEqualToSize()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGSizeMake()

CGSize CGSizeMake ( float  width,
float  height 
)

CGSizeMake()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

Variable Documentation

◆ CGPointZero

const CGPoint CGPointZero
extern

CGPointZero

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectNull

const CGRect CGRectNull
extern

CGRectNull

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGRectZero

const CGRect CGRectZero
extern

CGRectZero

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGSizeZero

const CGSize CGSizeZero
extern

CGSizeZero

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later