Skip to content
Discussion options

You must be logged in to vote

Hi,

does that mean that redrawing the cursor would also require redrawing the text?

If it's overlapping, then yes — the overlapping paint object will be redrawn by the cursor's dirty regions. However, this doesn't mean you don't need to handle redrawing the text on your side.

If so, wouldn't that affect performance?

with ThorVG v0 (v0.1.x ~ v0.15.x) - Yes
with ThorVG v1 (Since pre-release v1.0-pre23 or main branch) - literally it could affect, but optimally

Does ThorVG provide any support or optimization for such scenarios?

The optimization has been done only for Software Engine now. Please check the doc, its mechanism:
https://github.com/thorvg/thorvg/blob/main/README.md

Replies: 3 comments 18 replies

Comment options

You must be logged in to vote
15 replies
@xland
Comment options

xland Jun 26, 2025
Collaborator Author

@hermet
Comment options

@xland
Comment options

xland Jun 26, 2025
Collaborator Author

@hermet
Comment options

@xland
Comment options

xland Jul 5, 2025
Collaborator Author

Answer selected by xland
Comment options

You must be logged in to vote
2 replies
@xland
Comment options

xland Jul 6, 2025
Collaborator Author

@xland
Comment options

xland Jul 6, 2025
Collaborator Author

Comment options

You must be logged in to vote
1 reply
@xland
Comment options

xland Jul 18, 2025
Collaborator Author

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