Hello everyone, I'm having trouble with the Compos...
# compose
a
Hello everyone, I'm having trouble with the Compose's Canvas. I'm drawing a few elements in a Canvas with
withTransform({translation() scale()})
, inside of which I'm calling the drawCircle method, which is placed and scaled as expected, and then a
with(painter) { draw(painter.intrinsicSize) }
which is scaled correctly, but nos placed as expected. This Canvas is within a zoomable Component, which is taken into account when calculating the translations value, and work as expected with the
drawCircle
. (the pin marker is wrong, while the green dot/circle is correct). Does anyone know what I'm missing? Or would know of an explanation/documentation that could help? I can share more details about the code if necessary. Wish you all a good day 🙂