You are here

function theme_canvasactions_roundedcorners in ImageCache Actions 5.2

Same name and namespace in other branches
  1. 8 canvasactions/rounded_corners.inc \theme_canvasactions_roundedcorners()
  2. 5.3 canvasactions.inc \theme_canvasactions_roundedcorners()
  3. 6.2 canvasactions/rounded_corners.inc \theme_canvasactions_roundedcorners()
  4. 6 canvasactions.inc \theme_canvasactions_roundedcorners()
  5. 7 canvasactions/rounded_corners.inc \theme_canvasactions_roundedcorners()

Implementation of theme_hook() for imagecache_ui.module

File

./canvasactions.inc, line 655

Code

function theme_canvasactions_roundedcorners($element) {
  $data = $element['#value'];
  if ($data['independent_corners_set']['independent_corners']) {
    $dimens = join('px | ', $data['independent_corners_set']['radii']) . 'px';
  }
  else {
    $dimens = "Radius: {$data['radius']}px ";
  }
  return $dimens . ($data['antialias'] ? "antialiased" : "");
}