Skip to content

How to draw image relatively? #2825

Answered by hajimehoshi
WgZgYn asked this question in Q&A
Oct 29, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

You can copy GeoM value and use this.

var g0 GeoM
g0.Translate(1, 2)
g1 := g0 // g0 is copied.
g0.Rotate(1) // this doesn't affect g1

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@WgZgYn
Comment options

@hajimehoshi
Comment options

Answer selected by WgZgYn
@WgZgYn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants