File: README.md

package info (click to toggle)
witty 3.3.3%2Bdfsg-4.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 28,228 kB
  • ctags: 26,694
  • sloc: cpp: 147,809; ansic: 77,999; xml: 16,331; sh: 1,303; makefile: 198; java: 86; sql: 14
file content (24 lines) | stat: -rw-r--r-- 657 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Painting example
----------------

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.

How to run
----------

See the README in the parent directory.

What it illustrates
-------------------

- how to implement a custom `WPaintedWidget`
- how to use `WSlider`