Core Graphics utility.