function imagick_mirror_form in Imagick 7
Settings form for the imagick flip/flop effect.
Parameters
$action: The saved action form parameters.
1 string reference to 'imagick_mirror_form'
- imagick_image_effect_info in ./
imagick.module - Implements hook_image_effect_info()
File
- effects/
imagick.mirror.inc, line 41
Code
function imagick_mirror_form($data) {
$data = array_merge(imagick_mirror_defaults(), (array) $data);
$form['flip'] = array(
'#type' => 'checkbox',
'#title' => t('Mirror image verticaly'),
'#default_value' => $data['flip'],
);
$form['flop'] = array(
'#type' => 'checkbox',
'#title' => t('Mirror image horizontaly'),
'#default_value' => $data['flop'],
);
return $form;
}