Hi, In C++,I am trying to read a .skp file as SKPicture as below const char* skpFilePath = "layer_0.skp"; SkFILEStream stream(skpFilePath); sk_sp<SkPicture> skPicture =SkPicture::MakeFromStream(&stream); canvas->drawPicture(skPicture.get());
This C++ code works fine. I want to do this in browser. I believe skia cannot run in browser without CanvasKit js binding. But I cannot find any of these methods in Canvaskit. I don't think there is any way to run a native C++ command in browser other than using JS bindings. -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAO%2BCLgBrr%3Dx2Jot60NipZNLu-aVY5zmroXx%2Bs%3DaY%3D8W5bRiuew%40mail.gmail.com.