Available Transformation Functions used by CAM Library.
More...
Available Transformation Functions used by CAM Library.
◆ camlib_Transform_Copy()
int camlib_Transform_Copy 
( 
float 
x, 


float 
y 

) 
 
◆ camlib_Transform_CopyToLayer()
int camlib_Transform_CopyToLayer 
( 
int 
nLayer  ) 

Copies selected figure to other layers. May be used after camlib_ActivateCell and Selection Functions.
 Parameters

nLayer  Layer number to assign copied figures 
 Returns
 Returns 0 if successful, else 1.
◆ camlib_Transform_Delete()
int camlib_Transform_Delete 
( 
 ) 

◆ camlib_Transform_MirrorH()
int camlib_Transform_MirrorH 
( 
 ) 

◆ camlib_Transform_MirrorV()
int camlib_Transform_MirrorV 
( 
 ) 

◆ camlib_Transform_Move()
int camlib_Transform_Move 
( 
float 
x, 


float 
y 

) 
 
◆ camlib_Transform_Properties()
int camlib_Transform_Properties 
( 
int 
nLayer, 


int 
nCompositeLevel, 


int 
nDcode 

) 
 
Modify properties of selected figures May be used after camlib_ActivateCell and Selection Functions.
 Parameters

nLayer  Layer number to assign selected figures (use 1 to keep the same) 
nCompositeLevel  Composite level to assign selected figures (use 1 to keep same) 
nDcode  Dcode to assign selected figures (use 1 to keep same) 
 Returns
 Returns 0 if successful, else 1.
◆ camlib_Transform_Rotate()
int camlib_Transform_Rotate 
( 
float 
angle  ) 

Rotate selected figures about center of selected array. May be used after camlib_ActivateCell and Selection Functions.
 Parameters

angle  Degrees to rotate selected figures. 
 Returns
 Returns 0 if successful, else 1.
◆ camlib_Transform_Scale()
int camlib_Transform_Scale 
( 
float 
factor  ) 

Scale selected figures about origin. May be used after camlib_ActivateCell and Selection Functions.
 Parameters

factor  Numerical ratio to scale figures (default is 1.0) 
 Returns
 Returns 0 if successful, else 1.
◆ camlib_Transform_ScaleXY()
int camlib_Transform_ScaleXY 
( 
float 
xfactor, 


float 
yfactor 

) 
 
Scale selected figures about origin in X and Y directions respectively. May be used after camlib_ActivateCell and Selection Functions.
 Parameters

xfactor  Numerical ratio to scale figures horizontally (default is 1.0) 
yfactor  Numerical ratio to scale figures vertically (default is 1.0) 
 Returns
 Returns 0 if successful, else 1.