7 bitmap.allocN32Pixels(1, 1);
11 if (!canvas.
getProps(&surfaceProps)) {
12 SkDebugf(
"getProps failed unexpectedly.\n");
REG_FIDDLE(Canvas_getProps, 256, 256, true, 0)
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
@ kUnknown_SkPixelGeometry
static bool SkPixelGeometryIsRGB(SkPixelGeometry geo)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
bool getProps(SkSurfaceProps *props) const
SkPixelGeometry pixelGeometry() const