|
12 rokov pred | |
---|---|---|
.. | ||
CMakeLists.txt | 14 rokov pred | |
PaintApplication.C | 16 rokov pred | |
PaintExample.C | 12 rokov pred | |
PaintExample.h | 15 rokov pred | |
README.md | 13 rokov pred | |
ShapesWidget.C | 15 rokov pred | |
ShapesWidget.h | 16 rokov pred | |
painting.css | 16 rokov pred |
This example illustrates the use of Wt's painting API to render vector graphics in the browser.
The emweb logo is rendered using SVG, VML or Canvas depending on browser capabilities. If the browser is standards compliant, then SVG is used for positive angles and Canvas for negative angles of the logo orientation.
The sliders that control the rendering are actually also, in part, rendered using a painted widget, for the location of the thicks.
See the README in the parent directory.
WPaintedWidget
WSlider