[注意][求助]想修改块的特性中的X,Y比例,但是不能实现????附代码
我想修改块的特性中的X,Y比例,代码如下#include "StdAfx.h"
#include "StdArx.h"
// This is command 'SETSCALE'
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);//调用函数初始化矩阵
for(int i=0;i
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
页:
[1]