#include "SkColorPriv.h"
-class AutoValidator {
-public:
- AutoValidator(SkDevice* device) : fDevice(device) {}
-
-private:
- SkDevice* fDevice;
-};
-
////////// macros to place around the internal draw calls //////////////////
#define LOOPER_BEGIN_DRAWDEVICE(paint, type) \
-/* AutoValidator validator(fMCRec->fTopLayer->fDevice); */ \
this->predrawNotify(); \
AutoDrawLooper looper(this, paint, true); \
while (looper.next(type)) { \
SkDrawIter iter(this);
#define LOOPER_BEGIN(paint, type) \
-/* AutoValidator validator(fMCRec->fTopLayer->fDevice); */ \
this->predrawNotify(); \
AutoDrawLooper looper(this, paint); \
while (looper.next(type)) { \
return;
}
static const Pair gPairs[] = {
- { SkBitmap::kNo_Config, "000" },
- { SkBitmap::kARGB_8888_Config, "011" },
+ { SkBitmap::kNo_Config, "00" },
+ { SkBitmap::kARGB_8888_Config, "01" },
};
const int W = 20;