|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】[求助]文字镜像问题
[求助]文字镜像问题
[求助]文字镜像问题
我用下边的代码实现实体镜像,可当实体是文字时,无论怎么设置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();
}
}
|