Forum: Ruby on Rails [ANN] SVG's as backgrounds: Magick Corners Plugin

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Wybo W. (Guest)
on 2009-02-16 20:35
(Received via mailing list)
Magick Corners is a Rails plugin for adding Scalable Vector Graphics
as backgrounds to css-elements without a hassle. It can scale and
stretch them to size, and also generate them for simple cases like a
div with rounded corners.

After installing the plugin you can apply rounded corners to any
dom-object (only divs are officially supported) using css-selectors,
  mcorners = new MagickCorners();

And also display any SVG image as the background of divs of any size
  mcorners.add(‘div.add_tag’, {‘scaled_image’ : ‘add_tag.svg’});

Images are scaled/folded to suit. See the full Magick Corners docs for
a code example and detailed installation instructions:

Magick Corners is under the Affero GPL, and developed by the LogiLogi
Foundation (


Wybo W.


- Informatiekunde (computer linguistics, IR, webtech), History and
- Member of the Center for Metahistory Groningen

::Free Software and Open Source Developer:
- Active in the LogiLogi Foundation (
-, Cumulative, shared commenting, publication
                           idea sharing: Where insight comes together...
- ComLinToo, a computational linguistics toolset written in Perl
This topic is locked and can not be replied to.