TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua

 找回密码
 新人加入
查看: 3527|回复: 0
打印 上一主题 下一主题

[已解决] Position! [复制链接]

Administrator

Shanzhai Pro.

Rank: 7Rank: 7Rank: 7

楼主
发表于 2014-1-16 20:28:40 |显示全部楼层
http://www.tcax.org/forum.php?mo ... &extra=page%3D1

You can use these functions.
getpos( i , j [,an,offsetX,offsetY] )  
getpos_vert( i , j [,an,offsetX,offsetY]] )
They'll return a tuple of position.
example:
posX=getpos(_i,_j,7)[0]
posY=getpos(_i,_j,7)[1]

And the default values of an,offsetX,offsetY are according to the settings of tcc file.
您需要登录后才可以回帖 登录 | 新人加入

GitHub|TCAX 主页

GMT+8, 2024-5-6 18:41

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH