You are here

function image_test_crop in Drupal 7

Image tookit's crop operation.

File

modules/simpletest/tests/image_test.module, line 111
Helper module for the image tests.

Code

function image_test_crop(stdClass $image, $x, $y, $width, $height) {
  _image_test_log_call('crop', array(
    $image,
    $x,
    $y,
    $width,
    $height,
  ));
  return TRUE;
}