Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Functions
CinderCocoaTouch.h File Reference
#include "cinder/Cinder.h"
#include "cinder/Surface.h"
#include <CoreGraphics/CoreGraphics.h>
#include <CoreFoundation/CoreFoundation.h>
Include dependency graph for CinderCocoaTouch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cinder::cocoa::SafeUiImage
 A class which encapsulate a UIImage and an associated CGImageRef in order to work around memory ownership ambiguities in Cocoa Touch. More...
 

Namespaces

 cinder
 
 cinder::cocoa
 

Functions

Surface8u cinder::cocoa::convertUiImage (UIImage *uiImage, bool assumeOwnership=false)
 Converts a UIImage* into a cinder::Surface8u If assumeOwnership the result will increment the retain count on construction and decrement it upon the its own destruction. More...
 
SafeUiImage cinder::cocoa::createUiImage (const ImageSourceRef imageSource)
 
void cinder::cocoa::writeToSavedPhotosAlbum (const ImageSourceRef imageSource)
 Writes an image to the device's Photo Album. More...