几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(C++) (http://www.dimcax.com/hust/forumdisplay.php?f=34)
-   -   【转帖】[求助]文字镜像问题 (http://www.dimcax.com/hust/showthread.php?t=6881)

yang686526 2009-04-16 04:50 PM

【转帖】[求助]文字镜像问题
 
[求助]文字镜像问题
[求助]文字镜像问题
我用下边的代码实现实体镜像,可当实体是文字时,无论怎么设置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();
}
}


所有的时间均为北京时间。 现在的时间是 12:46 PM.