Skip to content

Use of rotation in add_image #629

Answered by mozman
hamishharvey asked this question in Issues
Discussion options

You must be logged in to vote

The rotation isn't stored as angle. The DXF attributes u_pixel and v_pixel store the direction and size of a single pixel in the x- and y-direction of the image. I removed the rounding at the conversion from angle to vector in the factory method add_image and ezdxf stores these vectors with max. precision now.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hamishharvey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Issues
Labels
None yet
2 participants