Skip to content

"How to convert text to path" and "Final drawing not shown until I click the canvas" #119

Answered by spakin
ramoncaballero asked this question in Q&A
Discussion options

You must be logged in to vote

At some point I'll modify to_path to invoke apply_action automatically for text objects, but the above should work for now.

I found time to implement this! (See commit 7c2059c.) Your original

t = text("10", (100, 100), font_size='16pt').to_path()

should now work as expected.

Replies: 1 comment 3 replies

Comment options

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

Answer selected by ramoncaballero
@ramoncaballero
Comment options

@spakin
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