|
vor 12 Jahren | |
---|---|---|
.. | ||
CMakeLists.txt | vor 14 Jahren | |
PaintApplication.C | vor 16 Jahren | |
PaintExample.C | vor 12 Jahren | |
PaintExample.h | vor 15 Jahren | |
README.md | vor 13 Jahren | |
ShapesWidget.C | vor 15 Jahren | |
ShapesWidget.h | vor 16 Jahren | |
painting.css | vor 16 Jahren |
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