Home | History | Annotate | Download | only in site
      1 Skia Graphics Library
      2 =====================
      3 
      4 Skia is an open source 2D graphics library which provides common APIs that work
      5 across a variety of hardware and software platforms.  It serves as the graphics
      6 engine for Google Chrome and Chrome OS, Android, Mozilla Firefox and Firefox
      7 OS, and many other products.
      8 
      9 Skia is sponsored and managed by Google, but is available for use by anyone
     10 under the BSD Free Software License.  While engineering of the core components
     11 is done by the Skia development team, we consider contributions from any
     12 source.
     13 
     14   * Canonical source tree:
     15     [skia.googlesource.com/skia](https://skia.googlesource.com/skia).
     16   * Issue tracker:
     17     [bug.skia.org](https://bug.skia.org/).
     18   * Discussion forum:
     19     [skia-discuss (a] googlegroups.com](https://groups.google.com/forum/#!forum/skia-discuss).
     20   * API Reference and Overview: [skia.org/user/api](https://skia.org/user/api/).
     21   * Skia Fiddle: [fiddle.skia.org](https://fiddle.skia.org/c/@skcanvas_paint).
     22 
     23 Showcase
     24 --------
     25 
     26 Click on any image below to see the source code that generated the image.
     27 <table>
     28   <tr><th>Shapes</th><th>Bzier Curves</th></tr>
     29   <tr>
     30     <td>
     31       <a href='https://fiddle.skia.org/c/@shapes'><img src='https://fiddle.skia.org/i/@shapes_raster.png'></a>
     32     </td>
     33     <td>
     34       <a href='https://fiddle.skia.org/c/@bezier_curves'><img src='https://fiddle.skia.org/i/@bezier_curves_raster.png'></a>
     35     </td>
     36   </tr>
     37 
     38   <tr><th>Translations and Rotations</th><th>Text Rendering</th></tr>
     39   <tr>
     40     <td>
     41       <a href='https://fiddle.skia.org/c/@rotations'><img src='https://fiddle.skia.org/i/@rotations_raster.png'></a>
     42     </td>
     43     <td>
     44       <a href='https://fiddle.skia.org/c/@text_rendering'><img src='https://fiddle.skia.org/i/@text_rendering_raster.png'></a>
     45     </td>
     46   </tr>
     47 
     48   <tr><th>Discrete Path Effects</th><th>Composed Path Effects</th></tr>
     49   <tr>
     50     <td>
     51       <a href='https://fiddle.skia.org/c/@discrete_path'><img src='https://fiddle.skia.org/i/@discrete_path_raster.png'></a>
     52     </td>
     53     <td>
     54       <a href='https://fiddle.skia.org/c/@compose_path'><img src='https://fiddle.skia.org/i/@compose_path_raster.png'></a>
     55     </td>
     56   </tr>
     57   <tr><th>Sum Path Effects</th><th>Shaders</th></tr>
     58   <tr>
     59     <td>
     60       <a href='https://fiddle.skia.org/c/@sum_path_effect'><img src='https://fiddle.skia.org/i/@sum_path_effect_raster.png'></a>
     61     </td>
     62     <td>
     63       <a href='https://fiddle.skia.org/c/@shader'><img src='https://fiddle.skia.org/i/@shader_raster.png'></a>
     64     </td>
     65   </tr>
     66 </table>
     67 
     68 Roadmap
     69 -------
     70 For a look at high level themes we have on tap the next 6-12 months, view our
     71 roadmap [here](https://docs.google.com/document/d/1LSdO3I-IdZVZCtEnW9pu3k_32gfPIcB_YeSn-OJBGZI/edit?usp=sharing).
     72 Note it is a living document that changes based on the requirements of our users.
     73 
     74 Platforms
     75 ---------
     76   * Windows 7, 8, 8.1, 10
     77   * macOS 10.10.5 or later
     78   * iOS 8 or later
     79   * Android 4.1 (JellyBean) or later
     80   * Ubuntu 14.04+, Debian 8+, openSUSE 13.3+, or Fedora Linux 24+
     81