• Home
  • Raw
  • Download

Lines Matching refs:affine

146     affine;  member
368 GetAffineMatrix(&svg_info->affine); in AcquireSVGInfo()
369 svg_info->scale[0]=ExpandAffine(&svg_info->affine); in AcquireSVGInfo()
1847 affine, in SVGStartElement() local
1865 GetAffineMatrix(&affine); in SVGStartElement()
1875 affine.sx=StringToDouble(value,(char **) NULL); in SVGStartElement()
1879 affine.rx=StringToDouble(token,&next_token); in SVGStartElement()
1883 affine.ry=StringToDouble(token,&next_token); in SVGStartElement()
1887 affine.sy=StringToDouble(token,&next_token); in SVGStartElement()
1891 affine.tx=StringToDouble(token,&next_token); in SVGStartElement()
1895 affine.ty=StringToDouble(token,&next_token); in SVGStartElement()
1909 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement()
1910 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement()
1911 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in SVGStartElement()
1912 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement()
1926 affine.sx=GetUserSpaceCoordinateValue(svg_info,1,value); in SVGStartElement()
1927 affine.sy=affine.sx; in SVGStartElement()
1929 affine.sy= in SVGStartElement()
1931 svg_info->scale[svg_info->n]=ExpandAffine(&affine); in SVGStartElement()
1936 affine.sx=svg_info->affine.sx; in SVGStartElement()
1937 affine.ry=tan(DegreesToRadians(fmod( in SVGStartElement()
1940 affine.sy=svg_info->affine.sy; in SVGStartElement()
1945 affine.sx=svg_info->affine.sx; in SVGStartElement()
1946 affine.rx=tan(DegreesToRadians(fmod( in SVGStartElement()
1949 affine.sy=svg_info->affine.sy; in SVGStartElement()
1963 affine.tx=GetUserSpaceCoordinateValue(svg_info,1,value); in SVGStartElement()
1964 affine.ty=affine.tx; in SVGStartElement()
1966 affine.ty= in SVGStartElement()
1975 transform.sx=affine.sx*current.sx+affine.ry*current.rx; in SVGStartElement()
1976 transform.rx=affine.rx*current.sx+affine.sy*current.rx; in SVGStartElement()
1977 transform.ry=affine.sx*current.ry+affine.ry*current.sy; in SVGStartElement()
1978 transform.sy=affine.rx*current.ry+affine.sy*current.sy; in SVGStartElement()
1979 transform.tx=affine.tx*current.sx+affine.ty*current.ry+ in SVGStartElement()
1981 transform.ty=affine.tx*current.rx+affine.ty*current.sy+ in SVGStartElement()
2247 affine, in SVGStartElement() local
2263 GetAffineMatrix(&affine); in SVGStartElement()
2273 affine.sx=StringToDouble(value,(char **) NULL); in SVGStartElement()
2277 affine.rx=StringToDouble(token,&next_token); in SVGStartElement()
2281 affine.ry=StringToDouble(token,&next_token); in SVGStartElement()
2285 affine.sy=StringToDouble(token,&next_token); in SVGStartElement()
2289 affine.tx=StringToDouble(token,&next_token); in SVGStartElement()
2293 affine.ty=StringToDouble(token,&next_token); in SVGStartElement()
2311 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement()
2312 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement()
2313 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in SVGStartElement()
2314 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement()
2323 affine.tx=svg_info->bounds.x+x* in SVGStartElement()
2326 affine.ty=svg_info->bounds.y-x* in SVGStartElement()
2329 affine.tx-=x/2.0; in SVGStartElement()
2330 affine.ty-=y/2.0; in SVGStartElement()
2344 affine.sx=GetUserSpaceCoordinateValue(svg_info,1,value); in SVGStartElement()
2345 affine.sy=affine.sx; in SVGStartElement()
2347 affine.sy=GetUserSpaceCoordinateValue(svg_info,-1, in SVGStartElement()
2349 svg_info->scale[svg_info->n]=ExpandAffine(&affine); in SVGStartElement()
2354 affine.sx=svg_info->affine.sx; in SVGStartElement()
2355 affine.ry=tan(DegreesToRadians(fmod( in SVGStartElement()
2358 affine.sy=svg_info->affine.sy; in SVGStartElement()
2363 affine.sx=svg_info->affine.sx; in SVGStartElement()
2364 affine.rx=tan(DegreesToRadians(fmod( in SVGStartElement()
2367 affine.sy=svg_info->affine.sy; in SVGStartElement()
2381 affine.tx=GetUserSpaceCoordinateValue(svg_info,1,value); in SVGStartElement()
2382 affine.ty=0; in SVGStartElement()
2384 affine.ty=GetUserSpaceCoordinateValue(svg_info,-1, in SVGStartElement()
2393 transform.sx=affine.sx*current.sx+affine.ry*current.rx; in SVGStartElement()
2394 transform.rx=affine.rx*current.sx+affine.sy*current.rx; in SVGStartElement()
2395 transform.ry=affine.sx*current.ry+affine.ry*current.sy; in SVGStartElement()
2396 transform.sy=affine.rx*current.ry+affine.sy*current.sy; in SVGStartElement()
2397 transform.tx=affine.tx*current.sx+affine.ty*current.ry+ in SVGStartElement()
2399 transform.ty=affine.tx*current.rx+affine.ty*current.sy+ in SVGStartElement()
3840 static void AffineToTransform(Image *image,AffineMatrix *affine) in AffineToTransform() argument
3845 if ((fabs(affine->tx) < MagickEpsilon) && (fabs(affine->ty) < MagickEpsilon)) in AffineToTransform()
3847 if ((fabs(affine->rx) < MagickEpsilon) && in AffineToTransform()
3848 (fabs(affine->ry) < MagickEpsilon)) in AffineToTransform()
3850 if ((fabs(affine->sx-1.0) < MagickEpsilon) && in AffineToTransform()
3851 (fabs(affine->sy-1.0) < MagickEpsilon)) in AffineToTransform()
3857 "\" transform=\"scale(%g,%g)\">\n",affine->sx,affine->sy); in AffineToTransform()
3863 if ((fabs(affine->sx-affine->sy) < MagickEpsilon) && in AffineToTransform()
3864 (fabs(affine->rx+affine->ry) < MagickEpsilon) && in AffineToTransform()
3865 (fabs(affine->sx*affine->sx+affine->rx*affine->rx-1.0) < in AffineToTransform()
3871 theta=(180.0/MagickPI)*atan2(affine->rx,affine->sx); in AffineToTransform()
3881 if ((fabs(affine->sx-1.0) < MagickEpsilon) && in AffineToTransform()
3882 (fabs(affine->rx) < MagickEpsilon) && in AffineToTransform()
3883 (fabs(affine->ry) < MagickEpsilon) && in AffineToTransform()
3884 (fabs(affine->sy-1.0) < MagickEpsilon)) in AffineToTransform()
3887 "\" transform=\"translate(%g,%g)\">\n",affine->tx,affine->ty); in AffineToTransform()
3894 affine->sx,affine->rx,affine->ry,affine->sy,affine->tx,affine->ty); in AffineToTransform()
4070 affine; in WriteSVGImage() local
4162 GetAffineMatrix(&affine); in WriteSVGImage()
4183 AffineToTransform(image,&affine); in WriteSVGImage()
4210 affine.sx=StringToDouble(token,&next_token); in WriteSVGImage()
4214 affine.rx=StringToDouble(token,&next_token); in WriteSVGImage()
4218 affine.ry=StringToDouble(token,&next_token); in WriteSVGImage()
4222 affine.sy=StringToDouble(token,&next_token); in WriteSVGImage()
4226 affine.tx=StringToDouble(token,&next_token); in WriteSVGImage()
4230 affine.ty=StringToDouble(token,&next_token); in WriteSVGImage()
4241 affine.rx=StringToDouble(token,&next_token); in WriteSVGImage()
4242 affine.ry=StringToDouble(token,&next_token); in WriteSVGImage()
4617 AffineToTransform(image,&affine); in WriteSVGImage()
4689 affine.sx=StringToDouble(token,&next_token); in WriteSVGImage()
4693 affine.sy=StringToDouble(token,&next_token); in WriteSVGImage()
4844 affine.tx=StringToDouble(token,&next_token); in WriteSVGImage()
4848 affine.ty=StringToDouble(token,&next_token); in WriteSVGImage()
4928 AffineToTransform(image,&affine); in WriteSVGImage()