21 const char kResource[] =
"images/grayscale.jpg";
24 canvas->drawImage(
image, 0.0f, 0.0f);
26 SkDebugf(
"\nCould not decode file '%s'. Did you forget"
27 " to set the resourcePath?\n", kResource);
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
DEF_SIMPLE_GM(grayscalejpg, canvas, 128, 128)
sk_sp< const SkImage > image