# Platform /

Platforms
- app::Platform

- app::PlatformCocoa
- app::PlatformMsw
- app::PlatformWinRt

MSW Functionality
- msw::ComInitializer
- msw::ComDeleter
- msw::ComIStream
- msw::ComOStream

- makeComShared<>( T *p )
- makeComUnique<>( T *p )
- convertHBitmap( HBITMAP hbitmap )
- convertGdiplusBitmap( Gdiplus::Bitmap )
- toWideString( std::string )
- toUtf8String( std::wstring )

Cocoa Functionality
- cocoa::ImageSourceCgImage
- cocoa::ImageTargetCgImage

- createCgBitmapContext( Surface8u )
- getWindowContext()
- convertCfString( CFStringRef )
- createCfString( std::string )
- createCfUrl( cinder::Url )
- createCgColor( ColorA )
- createCgRect( Area )
- CgRectToArea( CGRect )
- createCgSize( vec2 )
- createCfDataRef( cinder::Buffer )
- createImageSource( CGImageRef )
- createCgImage( ImageSourceRef )
- convertCVPixelBufferToSurface( CVPixelBufferRef )

OS X Functionality
- cocoa::SafeNsAutoreleasePool
- cocoa::SafeNsData
- cocoa::SafeNsString

- convertNsString( NSString )

iOS Functionality
- cocoa::SafeUiImage

- convertUiImage( UIImage* )
- createUiImage( ImageSourceRef )
- writeToSavedPhotosAlbum( ImageSourceRef )