double
value;
+ GeometryInfo
+ coordinate;
+
int
c;
return(flags);
if (strlen(geometry) >= (MagickPathExtent-1))
return(flags);
- c=sscanf(geometry,"%lf%*[ ,]%lf%*[ ,]%lf%*[ ,]%lf",&geometry_info->rho,
- &geometry_info->sigma,&geometry_info->xi,&geometry_info->psi);
+ c=sscanf(geometry,"%lf%*[ ,]%lf%*[ ,]%lf%*[ ,]%lf",&coordinate.rho,
+ &coordinate.sigma,&coordinate.xi,&coordinate.psi);
if (c == 4)
{
/*
Special case: coordinate (e.g. 0,0 255,255).
*/
+ geometry_info->rho=coordinate.rho;
+ geometry_info->sigma=coordinate.sigma;
+ geometry_info->xi=coordinate.xi;
+ geometry_info->psi=coordinate.psi;
flags|=RhoValue | SigmaValue | XiValue | PsiValue;
return(flags);
}