Closed davibarreira closed 1 year ago
I'm not sure what you want - but isn't the distortion because you've got 2 and -1 on the diagonal, rather than 2 and -2?
julia> cairotojuliamatrix([2 1 1 -1 0 0])
3×3 Matrix{Float64}:
2.0 1.0 0.0
1.0 -1.0 0.0
0.0 0.0 1.0
but I don't know too much about matrices...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Yeah. Don't worry. It's actually defining a way to rescale objects by the positions, similar to D3. But this is not a simple issue.
Suppose I have a drawing
200
by200
. I then want to draw circles inside this drawing, but I want to use a new coordinate system... Here is an example:The problem with this is that it distorts things... I mean, the behavior I'm looking for would be achieved by using
rescale
within the placement point of the circle. But I don't what to have to writerescale
for every case.