. I can’t find this, or any equivalent method, in the Compose canvas, so that I could use that on desktop too. I have to render my images distorted, so that I can accommodate to different projections of my map-tiles.
n
Nader Jawad
12/20/2020, 10:05 PM
You can access the platform canvas by calling
nativeCanvas
on the compose canvas instance which will return an android.graphics.Canvas for Android and the desktop canvas. You can then call the corresponding methods directly on it.
@Nader Jawad Yes I know, but the problem is that the desktop canvas does not have a corresponding message.
Michael Paus
12/22/2020, 5:40 PM
@Igor Demin Thanks, that gives me some hope but I will have to leave that exercise to a later time when I (hopefully) understand the whole system a little bit better :-)