Function

CGPatternRelease

Decrements the retain count of a Core Graphics pattern.

Declaration

void CGPatternRelease(CGPatternRef pattern);

Parameters

pattern

The pattern to release.

Discussion

This function is equivalent to CFRelease, except that it does not cause an error if the pattern parameter is NULL.

See Also

Retaining and Releasing a Pattern

CGPatternRetain

Increments the retain count of a Core Graphics pattern.