OLD | NEW |
---|---|
(Empty) | |
1 About the SampleApp | |
hcm
2015/01/29 20:14:18
Nit, but lets title it "About SampleApp"
herb_g
2015/01/30 02:24:14
Done.
| |
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. | |
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... | |
14 | |
15 You can find how to build the SampleApp for the various operating systems at the following links: | |
jcgregorio
2015/01/29 19:10:17
Make these relative links, also consider putting t
herb_g
2015/01/30 02:24:14
Done.
| |
16 [Linux](https://skia.org/user/quick/linux) [Macintosh](https://skia.org/user/qui ck/macos) [Windows](https://skia.org/user/quick/windows) [Android](https://skia. org/user/quick/android). | |
17 | |
18 Key | Action | |
19 -----------------------------|------------- | |
20 ← → | Move between the slides | |
21 r | Rotate the current slide | |
22 ↑ ↓ | Zoom in / out | |
23 d | Change render methods among raster, pictur e and opengl | |
24 f | Display the rendering time in the menu b ar | |
25 G | Show bounding box | |
26 | |
OLD | NEW |