PHP Classes
elePHPant
Icontem

splx_graph: Render polygons in HTML pages using DIV elements

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2010-05-11 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 436 All time: 5,956 This week: 862Up
Version License PHP version Categories
splx_graph 1.0GNU General Publi...4.0HTML, Graphics
Description Author

This class can be used to render polygons in HTML pages just using DIV elements.

It can generate HTML for presenting different types of polygons in Web page given their shape and coordinates in pixels.

Currently it can draw individual pixels, lines, rectangles, circles, or any other polygon given it coordinates of its edges.

Innovation Award
PHP Programming Innovation award nominee
May 2010
Number 5


Prize: One copy of Delphi for PHP
Originally Web pages were not meant for drawing vector graphics. Usually you would need to resort to bitmap graphic images to render diagrams with polygons and other vectorial shape types.

Nowadays there are some browser extensions that support drawing vector graphics in a Web page but their availability depends on the installed browser.

This class provides a alternative solution for drawing vector graphics that consists of using DIV tags laid out in a special way to make them appear as vectorial shapes.

Manuel Lemos
Picture of Alessandro Vernassa (speleoalex)
Name: Alessandro Vernassa ... <contact>
Classes: 3 packages by
Country: Italy Italy
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

Screenshots  
  • splx_graph.png
  Files folder image Files  
File Role Description
Plain text file splx_graph.php Class main class
Plain text file test.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:436
This week:0
All time:5,956
This week:862Up
User Comments (2)
nice job, I like it :)
6 years ago (bitperbit)
67%StarStarStarStar
fantastic (:
6 years ago (Tufan Baris YILDIRIM)
70%StarStarStarStar