|
发表于 2007-3-22 18:49:00
|
显示全部楼层
void zysetscale()
{
// TODO: Implement the command
int rc;
ads_real sf;
ads_name sname;
ads_matrix matrix;
acedPrompt("\nSelect enties to scale (transfrom)");
rc=acedSSGet(NULL,NULL,NULL,NULL,sname);
ident_init(matrix);//调用函数初始化矩阵
acedInitGet(RSG_NONULL+RSG_NONEG+RSG_NOZERO,NULL);
acedGetReal("\nTransformation Scale factor: ",&sf);
for(int i=0;i |
|