== Current status ==
Further resourcesThe Gecko graphics API preceding Moz2D was [http://blog.vlad1.com/2007/12/11/graphics-in-mozilla/ Thebes] which consists of a C++ wrapper around Cairo, some Gecko-specific utility code, and a text API that uses platform text handling. Currently both the Thebes API and Moz2D API are in use. A Thebes wrapper around Moz2D allows code that still uses the Thebes API to run on top of Moz2D. Over time this code will be migrated to using the Moz2D API directly (see [[Platform/GFX/AzureConversion|Azure Conversion]]). Once the Azure project is completed—that is, all the backends have been implemented and all the calling code converted to use the new Moz2D API—the old Thebes API will be removed. ''Side note:'' For historical reasons, there are some classes with “Thebes” in the name which will be surviving this process as they're not actually part of the graphics API. They may get renamed eventually, to reduce the number of magical words you need to know about, but be warned that just because some code has “Thebes” in the name, it does not mean that the code is on its way out! See also:
* [http://www.basschouten.com/blog1.php/progress-on-moz2d Progress on Moz2D] - July 2013 update
* [[Platform/GFX/AzureConversion|Azure Conversion]]
== Stateless vs stateful ==