通过仿射变换可以实现:
read_contour_xld_dxf (Contours, 'AAA.dxf', 'min_num_points', 100, DxfStatus)
hom_mat2d_identity (HomMat2DIdentity)
get_image_size (Image, Width, Height)
hom_mat2d_scale (HomMat2DIdentity, 0.06, 0.06, Height/2.0, Width/2.0, HomMat2DScale)affine_trans_contour_xld (Contours, ContoursAffinTrans1, HomMat2DScale)
|