You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Skia to draw on top of another component (that is NOT a Canvas). It seems, that there's a SkiaApi.Context method that internally creates a context based on CALayer on iOS.
However, I can't find a single example of its use! And it doesn't look like there's an easy way to get to the CALayer object of a View.
Any help would be appreciated!
Alternatively, I'd love to be able to do imperative drawing using Canvas. I want to just get a SkiaContext from it, and be able to draw from my loop.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use Skia to draw on top of another component (that is NOT a Canvas). It seems, that there's a
SkiaApi.Context
method that internally creates a context based onCALayer
on iOS.However, I can't find a single example of its use! And it doesn't look like there's an easy way to get to the
CALayer
object of aView
.Any help would be appreciated!
Alternatively, I'd love to be able to do imperative drawing using
Canvas
. I want to just get aSkiaContext
from it, and be able to draw from my loop.Beta Was this translation helpful? Give feedback.
All reactions