COMPANY

BLOGS

  • user warning: Unknown column 'u.signature_format' in 'field list' query: SELECT c.cid as cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, c.homepage, u.uid, u.name AS registered_name, u.signature, u.signature_format, u.picture, u.data, c.thread, c.status FROM comments c INNER JOIN users u ON c.uid = u.uid WHERE c.nid = 19809 AND c.status = 0 ORDER BY c.cid LIMIT 0, 50 in /var/www/www.4d.com/docs/modules/comment/comment.module on line 991.
  • warning: file_get_contents(http://www.telize.com/geoip/54.80.137.168) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/www.4d.com/docs/includes/common.inc(1762) : eval()'d code on line 4.

Discover SVG Goodies for 4D v12

16.06.2010
by Thibaud Arguillère

SVG Goodies is a 4D v12 example application that illustrates the power of using SVG inside 4D. You can run the app to see how the methods work, then use the methods in your own projects simply by dropping SVG Goodies in the Components folder near your structure (you can also copy/paste the methods into your own code). It’s totally open and free!

 

SVG Goodies contains useful utilities that will let you:

  • Rotate an image at any angle (svg_Rotate_picture)
  • Add a reflection below an image (svg_Picture_add_reflection),
  • Draw a graphical definition of a structure (svg_DrawStructure)
  • Dynamically modify an SVG image based on data, using loops and conditions (svg_Append_data_tag, svg_LOOP, svg_IF, and svg_PROCESS_DATA_TAG)

 

SVG Goodies can be downloaded from the example applications section of the Web site.

 

The following video uses svg_Picture_add_reflection to show you how you can – in less than 30 seconds – dramatically enhance your interface when displaying pictures.

 

RSS 0 comment(s) to this post