#include "cinder/Cinder.h"
#include "cinder/Surface.h"
#include <CoreGraphics/CoreGraphics.h>
#include <CoreFoundation/CoreFoundation.h>
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... | |