added missing CoreGraphics header.