skia2/include/utils/mac/SkCGUtils.h
reed@android.com f2b98d67dc merge with changes for GPU backend
git-svn-id: http://skia.googlecode.com/svn/trunk@637 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-12-20 18:26:13 +00:00

19 lines
331 B
C++

#ifndef SkCGUtils_DEFINED
#define SkCGUtils_DEFINED
#include "SkTypes.h"
#ifdef SK_BUILD_FOR_MAC
#include <Carbon/Carbon.h>
#else
#include <CoreGraphics/CoreGraphics.h>
#endif
class SkBitmap;
CGImageRef SkCreateCGImageRef(const SkBitmap&);
void SkCGDrawBitmap(CGContextRef, const SkBitmap&, float x, float y);
#endif