You are here

function theme_canvasactions_file2canvas in ImageCache Actions 6

Same name and namespace in other branches
  1. 5.3 canvasactions.inc \theme_canvasactions_file2canvas()
  2. 5.2 canvasactions.inc \theme_canvasactions_file2canvas()
  3. 6.2 canvasactions/canvasactions.inc \theme_canvasactions_file2canvas()

Implementation of theme_hook() for imagecache_ui.module

File

./canvasactions.inc, line 517
Helper functions for the text2canvas action for imagecache

Code

function theme_canvasactions_file2canvas($element) {
  $action = $element['#value'];
  return '<strong>' . basename($action['path']) . '</strong> x:' . $action['xpos'] . ', y:' . $action['ypos'] . ' alpha:' . $action['alpha'] . '%';
}