void S_PicXZ(Graphics::TBitmap *Source,Graphics::TBitmap *NewPic,int angle)//
{
if(angle180)angle=360-angle;
if(angle-180)angle=360+angle;
float radians=(2*3.1416*angle)/360;
float cosine=(float)cos(radians);
float sine=(float)sin(radians);
float Point1x=(-Source-Height*sine);
float Point1y=(Source-Height*cosine);
float Point2x=(Source-Width*cosine-Source-Height*sine);
float Point2y=(Source-Height*cosine+Source-Width*sine);
float Point3x=(Source-Width*cosine);
float Point3y=(Sourc...[ 查看全文 ]