1About SampleApp
2==========================
3The SampleApp displays a series of slides that exhibit specific features of the Skia system. It is mainly controlled using the keyboard: left (&#x2190;) and (&#x2192;) right arrows to move from slide to slide. Some slides require use resources stored outside the program. These resources are stored in the `<skia-path>/resources` directory.
4
5`<skia-path>/out/Release/SampleApp --resourcePath <skia-path>/resources`
6
7
8In addition to displaying various aspects of Skia, SampleApp is used to debug and understand different parts of the Skia system.
9
10* Observe rendering performance - pressing the 'f' key places the SampleApp in frame rate mode. It continuously draws the slide while desplaying the draw time in 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 performance.
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 can be generated by...
14
15You 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
22Key                              | Action
23-----------------------------|-------------
24&#x2190; &#x2192; | Move between the slides
25r                                    | Rotate the current slide
26&#x2191; &#x2193; | Zoom in / out
27d                                   | Change render methods among raster, picture and opengl
28f                                     | Display the rendering time in the menu bar
29G                                    | Show bounding box
30
31