Lines Matching refs:resolution
493 if (image->resolution.y > 0)
495 y_resolution=image->resolution.y;
499 if (image->resolution.x > 0)
501 x_resolution=image->resolution.x;
539 if (image->resolution.x != 0.0)
540 image->columns=(size_t) floor((image->columns*image->resolution.x)+
542 if (image->resolution.y != 0.0)
543 image->rows=(size_t) floor((image->rows*image->resolution.y)+0.5);
550 if (image->resolution.x != 0.0)
551 image->columns=(size_t) floor(((image->columns*image->resolution.x)/
553 if (image->resolution.y != 0.0)
554 image->rows=(size_t) floor(((image->rows*image->resolution.y)/
649 if ((image->resolution.x <= 0.0) || (image->resolution.y <= 0.0))
653 source->GetHorizontalResolution()*image->resolution.x+0.5);
655 source->GetVerticalResolution()*image->resolution.y+0.5);
725 image->resolution.x=source->GetHorizontalResolution();
726 image->resolution.y=source->GetVerticalResolution();
733 image->resolution.x=source->GetHorizontalResolution()*image->columns/
735 image->resolution.y=source->GetVerticalResolution()*image->rows/
737 if (image->resolution.x == 0)
738 image->resolution.x=image->resolution.y;
739 else if (image->resolution.y == 0)
740 image->resolution.y=image->resolution.x;
742 image->resolution.x=image->resolution.y=MagickMin(
743 image->resolution.x,image->resolution.y);
749 image->resolution.x=geometry_info.rho;
750 image->resolution.y=geometry_info.sigma;
752 image->resolution.y=image->resolution.x;