skija icon indicating copy to clipboard operation
skija copied to clipboard

How to draw rich-text in skaji?

Open luojinrong opened this issue 2 years ago • 1 comments

I want to draw image with text together, but I don't find any method to use rich-text in skaji. If I draw image and text separately, I may have typographical problems. So I want to know if any ways to use rich-text in skaji?

luojinrong avatar Apr 07 '22 02:04 luojinrong

I think you are supposed to use ParagraphBuilder::addPlaceholder.

P.S. this repo is no longer active, I suggest you switch over to https://github.com/HumbleUI/Skija/

tonsky avatar Apr 07 '22 12:04 tonsky