#include "SkPoint.h"
#include "SkRefCnt.h"
-#if defined(SK_BUILD_FOR_MAC)
-#include <carbon/carbon.h>
-#endif
-
struct SkIRect;
class SkColorTable;
class SkPaint;
*/
inline SkPMColor getIndex8Color(int x, int y) const;
- // OS-specific helpers
-#ifndef SK_USE_WXWIDGETS
-#ifdef SK_BUILD_FOR_WIN
- /** On Windows and PocketPC builds, this will draw the SkBitmap onto the
- specified HDC
- */
- void drawToHDC(HDC, int left, int top) const;
-#elif defined(SK_BUILD_FOR_MAC)
- /** On Mac OS X and Carbon builds, this will draw the SkBitmap onto the
- specified WindowRef
- */
- void drawToPort(WindowRef, CGContextRef) const;
-#endif
-#endif
-
/** Set dst to be a setset of this bitmap. If possible, it will share the
pixel memory, and just point into a subset of it. However, if the config
does not support this, a local copy will be made and associated with
** limitations under the License.
*/
+#include <carbon/carbon.h>
#include "SkFontHost.h"
#include "SkDescriptor.h"
+#include "SkPoint.h"
// Give 1MB font cache budget
#define FONT_CACHE_MEMORY_BUDGET (1024 * 1024)