The SampleApp displays a series of slides that exhibit specific features of the Skia system. It is mainly controlled using the keyboard: left (←) and (→) 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.
<skia-path>/out/Release/SampleApp --resourcePath <skia-path>/resources
In addition to displaying various aspects of Skia, SampleApp is used to debug and understand different parts of the Skia system.
--picture <skp-file-path>.skp
to use the .skp
file as the slide desplayed by SampleApp. A .skp
file can be generated by...Key | Action |
---|---|
← → | Move between the slides |
r | Rotate the current slide |
↑ ↓ | Zoom in / out |
d | Change render methods among raster, picture and opengl |
f | Display the rendering time in the menu bar |
G | Show bounding box |