查看单个帖子
旧 2009-04-16, 04:50 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】[求助]文字镜像问题

[求助]文字镜像问题
[求助]文字镜像问题
我用下边的代码实现实体镜像,可当实体是文字时,无论怎么设置setmirrtext()都不起作用,镜像后的文字都是反的?
是不是我的代码有问题,还是需要其它操作?
acgeline3d line(pnt1, pnt2);
acgematrix3d xform;
xform.settomirroring(line);
long length = ids.length();
long i = 0;
for(i=0;i<length;i++)
{
acdbentitypointer pent(ids.at(i), acdb::kforwrite);
if(pent.openstatus() == acad::eok)
{
pent->transformby(xform);
pent->close();
}
}
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)