{{Short description|Open source graphics library written in C++}} {{Infobox software | name = Skia Graphics Engine | title = Skia Graphics Engine | logo = Skia_Project_Logo.svg | logo size = 175px | screenshot = <!-- File: --> | caption = | collapsible = | author = Skia Inc. | developer = Google | released = <!-- {{Start date|YYYY|MM|DD|df=yes/no}} --> | discontinued = | latest release version = | latest release date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} --> | latest preview version = | latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} --> | programming language = C++ | operating system = Android, iOS, Linux, macOS, Windows | platform = | size = | language = | genre = Graphics library | license = New BSD License | website = {{URL|https://skia.org/}} }} The '''Skia Graphics Engine''' or '''Skia''' is an open-source 2D graphics library written in C++. Skia abstracts away platform-specific graphics APIs (which differ from one to another).<ref>{{Cite web|title=Skia Graphics Library|url=https://skia.org/|access-date=2020-11-01|website=skia.org|archive-date=2019-01-17|archive-url=https://web.archive.org/web/20190117100743/https://skia.org/|url-status=live}}</ref> Skia Inc. originally developed the library; Google acquired it in 2005,<ref name=gigaom>{{cite web|last= Malik|first= Om|title=Google Open Sources Skia Graphics Engine|url= http://gigaom.com/2008/09/02/google-open-sources-skia-graphics-engine/|archive-url= https://archive.today/20130124010318/http://gigaom.com/2008/09/02/google-open-sources-skia-graphics-engine/|url-status= dead|archive-date= January 24, 2013|work= gigaom|date= 2 Sep 2008|access-date= 31 August 2011}}</ref> and then released the software as open source licensed under the New BSD free software license in 2008.
==Overview== In order to stay multi-platform, Skia supports several (platform-dependent) back-ends. These include:
* CPU software rasterization * Portable Document Format (PDF) output * GPU-accelerated rendering by using:<ref>{{Cite web|title=Specialized Builds|url=https://skia.org/docs/user/special/|access-date=2022-01-18|website=Skia|language=en}}</ref> ** ANGLE backend, which translates OpenGL ES calls into vendor's native APIs ** Vulkan and Metal. * Scalable Vector Graphics (SVG) * XML Paper Specification (XPS)
Skia is most similar in purpose to Cairo or Pathfinder (meaning that it focuses on drawing) rather than to other more elaborate APIs like that of Qt that provide their own widgets and UI description language etc.<ref name="phor">{{cite web|url=https://www.phoronix.com/scan.php?page=news_item&px=OTM0Mw|title=The Skia 2D Graphics Library From Google - Phoronix|website=www.phoronix.com|access-date=19 April 2018|archive-date=20 April 2018|archive-url=https://web.archive.org/web/20180420010652/https://www.phoronix.com/scan.php?page=news_item&px=OTM0Mw|url-status=live}}</ref>
== Application == The library is used {{as of | 2023 | lc = on}} in Google Chrome, ChromeOS, ChromiumOS, Mozilla Firefox, Mozilla Thunderbird, Android, Firefox OS, Flutter, Ladybird,<ref>{{cite web |title=Skia Documentation |url=https://skia.org/docs/ |website=skia.org |access-date=20 April 2023}}</ref> Avalonia (from Alpha 4), LibreOffice (from version 7.0) and RAD Studio<ref>{{cite web |title=RAD Studio |url=https://www.embarcadero.com/products/rad-studio |website=embarcadero.com}}</ref>(since version 12.0).
== Supported platforms ==
* Windows 10, 11 * macOS 10.15 or later * iOS 12 or later * Android 4.3 (JellyBean) or later * Ubuntu 18.04+, Debian 10+, openSUSE 15.2+, or Fedora Linux 32+ * Web Browsers<ref name="canvaskit">{{Cite web|title=CanvasKit - Skia + WebAssembly|url=https://skia.org/docs/user/modules/canvaskit/|access-date=2021-09-03|website=skia.org}}</ref>
== Etymology == Skia is a romanisation of the word 'shadow' in Greek (Σκιά).
== History == Skia Inc, developers of the Skia Graphics Engine, was founded in 2004 by Mike Reed and Cary Clark in Chapel Hill North Carolina, before being acquired by Google in 2005.<ref>{{Cite web|date=2017-05-24|title=Inside Google's Chapel Hill outpost: A growing success story {{!}} WRAL TechWire|url=https://www.wraltechwire.com/2017/05/24/inside-googles-chapel-hill-outpost-a-growing-success-story/|access-date=2021-10-27|language=en-US}}</ref>
== See also == {{Portal|Free and open-source software}} * Direct2D * Starling Framework * Anti-Grain Geometry * CoreGraphics * Cairo *QuickDraw GX
== References == {{Reflist}}
== External links == * {{Official website}} *[http://www.slideshare.net/snailee/skia-freetype-android-2d-graphics-essentials Skia & Freetype – Android 2D Graphics Essentials] * [https://github.com/servo/pathfinder Pathfinder 3]
=== YouTube === * {{YouTube|OmfliNQsk88|Skia Path Ops : High Performance Set Operations for Geometry}} *[https://www.youtube.com/watch?v=A5-aXfSt-RA Google Developers: Painting in Chromium], 2012 on YouTube
Category:Google acquisitions Category:Graphics libraries Category:Software using the BSD license