Function

CGRectMakeWithDictionaryRepresentation

Fills in a rectangle using the contents of the specified dictionary.

Declaration

bool CGRectMakeWithDictionaryRepresentation(CFDictionaryRef dict, CGRect *rect);

Parameters

dict

A dictionary that was previously returned from the function CGRectCreateDictionaryRepresentation.

rect

On return, the rectangle created from the specified dictionary.

Return Value

YES if successful; otherwise NO.

See Also

Creating a Geometric Primitive from a Dictionary Representation

CGPointMakeWithDictionaryRepresentation

Fills in a point using the contents of the specified dictionary.

CGSizeMakeWithDictionaryRepresentation

Fills in a size using the contents of the specified dictionary.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software