I just updated the version of skia that I was using, but it seems a lot of APIs have changed.
For creating a Canvas I used to proceed like this :
SkBitmap bitmap;
bitmap.setConfig(SkBitmap::kARGB_8888_Config, 200, 100);
bitmap.setPixels(address);
SkCanvas canvas(bitmap);
canvas.drawText(text, length, x, y, paint);
But now it seems setConfig has been deprecated and replaced with SkImageInfo, but I couldn't find an alternative for kARGB_8888_Config.
Also SkCanvas::getClipBounds doesn't take EdgeType as an argument anymore and I couldn't find any alternative for it.
What other APIs are available for these?
Thanks
Vivek