OLD | NEW |
---|---|
(Empty) | |
1 About SampleApp | |
2 ========================== | |
3 The SampleApp displays a series of slides that exhibit specific features of the Skia system. It is mainly controlled using the keyboard: left (←) and (&# x2192;) right arrows to move from slide to slide. Some slides require use resour ces stored outside the program. These resources are stored in the `<skia-path>/r esources` directory. | |
tfarina
2015/01/30 14:33:42
nit: require use?
| |
4 | |
5 `<skia-path>/out/Release/SampleApp --resourcePath <skia-path>/resources` | |
6 | |
7 | |
8 In addition to displaying various aspects of Skia, SampleApp is used to debug an d understand different parts of the Skia system. | |
9 | |
10 * Observe rendering performance - pressing the 'f' key places the SampleApp in f rame rate mode. It continuously draws the slide while desplaying the draw time i n the title of the window. | |
11 * Try different rendering methods - pressing the 'd' key cycles among the three rendering methods raster, picture and opengl. You can use this with the 'f' key to see the effect that the different rendering methods have on drawing performan ce. | |
12 * Look at different angles - pressing the 'r' slowley rotates the slide. | |
13 * Display and manipulate your own pictures - use the `--picture <skp-file-path>. skp` to use the `.skp` file as the slide desplayed by SampleApp. A `.skp` file c an be generated by... | |
tfarina
2015/01/30 14:33:42
generated by...? Explain how to generate it or jus
| |
14 | |
15 You can find how to build the SampleApp for the various operating systems at the following links: | |
16 | |
17 * [Linux](/user/quick/linux) | |
18 * [Macintosh](/user/quick/macos) | |
19 * [Windows](/user/quick/windows) | |
20 * [Android](/user/quick/android) | |
21 | |
22 Key | Action | |
23 -----------------------------|------------- | |
24 ← → | Move between the slides | |
25 r | Rotate the current slide | |
26 ↑ ↓ | Zoom in / out | |
27 d | Change render methods among raster, pictur e and opengl | |
28 f | Display the rendering time in the menu b ar | |
29 G | Show bounding box | |
30 | |
OLD | NEW |