找回密码
 快速注册
搜索
查看: 49|回复: 0

沿path放置文字,像SVG<textPath>

[复制链接]

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

hbghlyj 发表于 2023-5-19 17:15 |阅读模式


如何在Asymptote中做出和SVG <textPath>一样的沿path文字 例如Using SVG第7章的例子
The sun was shining on the sea,

写成TikZ


写成Asymptote
import graph; size(240pt,0); guide wave1 = shift((10, 35)) * (10, 0) .. controls (60, 60) and (110, 60) .. (160, 35) .. controls (210, 10) and (260, 10) .. (310, 35); wave1=yscale(-1)*wave1; label(Label("The sun was shining on the sea,"), wave1, align=NE); draw(wave1, blue);

如何使Label沿文字呢? 已发送help forum

手机版|悠闲数学娱乐论坛(第3版)

GMT+8, 2025-3-4 12:15

Powered by Discuz!

× 快速回复 返回顶部 返回列表