f2b98d67dc
git-svn-id: http://skia.googlecode.com/svn/trunk@637 2bbb7eff-a529-9590-31e7-b0007b416f81
19 lines
331 B
C++
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
|