function theme_textactions_text2canvas in ImageCache Actions 6
Same name and namespace in other branches
- 5.3 textactions.inc \theme_textactions_text2canvas()
- 5.2 textactions.inc \theme_textactions_text2canvas()
Implementation of theme_hook() for imagecache_ui.module
File
- ./
textactions.inc, line 175 - Helper functions for imagecache_textactions
Code
function theme_textactions_text2canvas($element) {
$data = $element['#value'];
return "<em><strong>" . $data['text'] . "</strong></em>" . t("<br/>%sizepx #%color %alpha% %angle° (%xpos, %ypos)", array(
'%size' => $data['size'],
'%color' => strtoupper($data['RGB']['HEX']),
'%alpha' => $data['alpha'],
'%angle' => $data['angle'],
'%xpos' => $data['xpos'],
'%ypos' => $data['ypos'],
));
}