Consider the following line of code:
::CGContextRef cgContext = cocoa::createCgBitmapContext( surface );
How come there's no namespace specified before :: ? Does that mean it's using the same namespace as the class you're in?