Share to: share facebook share twitter share wa share telegram print page

Cairo

cairo
原作者基思·帕卡德卡尔·沃思[1]
開發者卡尔·沃思贝赫达德·埃斯法赫博德
当前版本
  • 1.18.2(2024年9月1日;穩定版本)[2]
編輯維基數據鏈接
源代码库 編輯維基數據鏈接
编程语言C语言
操作系统跨平台
类型图形库
许可协议GNU宽通用公共许可证版本2.1或是Mozilla公共许可证版本1.1
网站www.cairographics.org/ 编辑维基数据

Cairo是一個用於提供向量圖形繪圖的自由函式庫,Cairo提供在多個背景下做二维空间的繪圖,進階的更可以使用硬體加速功能[3]。雖然Cairo是使用C語言撰寫的,但是當使用cairo時,可以用許多其他種語言來使用,包括有C++C#JavaPythonPerlRubySchemeSmalltalk以及許多種語言[4],cairo在GNU較寬鬆公共許可證Mozilla公共许可证兩種授權條款下發行。

後端

Cairo支持很多不同後端的输出,在实现中被称作“surface”。支持的后端包括X Window系统、Win32 GDIQuartz CompositorOS/2OpenGL环境(直接或间接地通过glitz英语glitz)、内存缓冲区、PNGPDFPostScriptDirectFBSVG文件。

还有一些开发中的后端如:OpenVGQtSkia和Windows Direct2D[5]

知名應用

因为能够提供高级的跨平台2D绘图的支持,cairo在开源社区十分流行。

  • GTK+从2005年的2.8版开始,使用cairo去渲染它的大多数控件,从GTK+ 3开始,所有的渲染任务由cairo完成。
  • Mono项目,包括Moonlight,在很早便设想用cairo作为后端驱动GDI+(libgdiplus)和 System.Drawing命名空间。
  • Mozilla项目在最近版本的Gecko排版引擎中使用cairo,用来渲染生成的图形输出。
    • Gecko 1.8,Firefox 2.0和SeaMonkey 1.0的排版引擎,使用cairo渲染SVG和<canvas>内容。
    • Gecko 1.9,作为Firefox 3底层使用cairo对网页内容和用户界面进行渲染。
  • Poppler库使用cairo渲染PDF文档. cairo使得对反锯齿矢量图形和透明物件的绘制成为可能。
  • 矢量绘图应用程序Inkscape使用cairo图形库显示其概要模式,以及自从0.46正式版使用它输出PDF和PostScript文档。
  • FontForge在2008年10月中旬启用cairo为默其认渲染图形库。
  • R语言经cairo用PDF,PostScript和SVG格式输出图像。
  • Gnuplot 4.4现在使用cairo来渲染PDF和PNG输出。

历史

基思·帕卡德和卡尔·沃思为在X Window系統使用创立了cairo项目[6]。它原本(直到2003年)被称做Xr或Xr/Xc。为了加强跨平台而非被局限在X Window平台绘图的印象,项目更换了名称。Xr经被解释为希腊字母chirho派生出新名称cairo。

相似的技術

Cairo大抵相似於微軟WPFGDI+蘋果公司Quartz 2DAnti-Grain Geometry英语Anti-Grain Geometry(AGG)。

相關條目

參考資料

  1. ^ Carl's boring web pages. cworth.org. 2013 [11 July 2014]. (原始内容存档于2014-05-17). 
  2. ^ cairo-1.18.2. 2024年9月1日 [2024年9月7日]. 
  3. ^ Cairo homepage. [2010-10-30]. (原始内容存档于2011-02-23). 
  4. ^ Cairo Language Bindings. [2014-04-16]. (原始内容存档于2011-05-17). 
  5. ^ Bas Schouten. Direct2D: Hardware Rendering a Browser. 2009-11-22 [2010-02-12]. (原始内容存档于2010-02-10). 
  6. ^ Xr: Cross-device Rendering for Vector Graphics. [2009-06-08]. (原始内容存档于2009-06-14). 

外部連結

Read other articles:

Antisemitic conspiracy theory promulgated in Germany after World War I Stab in the back and November criminals redirect here. For other uses, see Stab in the back (disambiguation) and November Criminals (disambiguation). An illustration from a 1919 Austrian postcard showing a caricatured Jew stabbing a German Army soldier in the back with a dagger. The capitulation of the Central Powers was blamed on socialists, Bolsheviks, and the Weimar Republic, but in particular on Jews. Hagen takes aim a...

 

日本の政治家緒方 靖夫おがた やすお 緒方靖夫(2014年撮影)生年月日 (1947-10-29) 1947年10月29日(76歳)出生地 日本 東京都千代田区出身校 東京外国語大学前職 しんぶん赤旗記者現職 党副委員長所属政党 日本共産党称号 日本共産党永年党員 参議院議員選挙区 東京都選挙区当選回数 2回在任期間 1995年7月24日 - 2007年7月28日テンプレートを表示緒方 靖夫(おがた やすお、1947

 

American writer Susan EisenhowerEisenhower in 2009BornSusan Elaine Eisenhower (1951-12-31) December 31, 1951 (age 71)Political partyRepublican (before 2008) Independent (2008–present)[citation needed]Spouses Alexander H. Bradshaw (m. c. 1973; div. c. 1980) John Mahon (m. 1980; div. 1983) Roald Sagdeev (m. 1991; div. 2007) Children3ParentJohn Eisenhower (father) Susan Elaine Eisenhower (born December 31, 1951)[1] is an American consultant, author, and expert ...

Location of Byers Peninsula, Livingston Island in the South Shetland Islands Devils Point from Lucifer Crags, with Hell Gates and Vardim Rocks in the middle ground, Long Rock in Morton Strait and Snow Island in the background, and Smith Island seen on the horizon on the right Devils Point is a point marking the southwest extremity of Byers Peninsula, Livingston Island in the South Shetland Islands, Antarctica[1] and forming the southeast side of the entrance to Osogovo Bay and the wes...

 

Rad RacerInformación generalDesarrollador SquaresoftDistribuidor SquaresoftNintendoMattelDiseñador Hironobu SakaguchiProgramador Nasir GebelliCompositor Nobuo UematsuDatos del juegoGénero Videojuego de carrerasIdiomas inglés Modos de juego Un jugadorClasificaciones ESRBPEGICEROUSKDatos del softwarePlataformas Arcade, Nintendo Entertainment SystemDatos del hardwareFormato Cartucho (Nintendo Ettertainment System)Videojuego para sobremesa Arcade (Arcade)Dispositivos de entrada Mando de sobre...

 

Mary Brown kan verwijzen naar: Mary Brown (single), een single van Emly Starr Explosion Mary Brown-Bullock, een Amerikaans academicus gespecialiseerd in Chinese geschiedenis Mary Browne, een tennisspeelster uit de Verenigde Staten van Amerika Mary Brown's, een Canadese restaurantketen Bekijk alle artikelen waarvan de titel begint met Mary Brown of met Mary Brown in de titel. Dit is een doorverwijspagina, bedoeld om de verschillen in betekenis of gebruik van Mary Brown...

Lapa Plaats in Portugal Situering Gemeente Lisboa Coördinaten 39° 10′ NB, 8° 53′ WL Algemeen Oppervlakte 0,72 km² Inwoners (2001) 8671[1] (12026,4 inw./km²) Politiek Gesticht 11 de Fevereiro de 1770 Foto's Portaal    Portugal Lapa is een plaats (freguesia) in de Portugese gemeente Lisboa en telt 8671 inwoners (2001). Geboren Alfredo Nobre da Costa (1923-1996), premier van Portugal (1978) Bronnen, noten en/of referenties ↑ Instituto Nacional de Estatistica,...

 

Medical term Medical conditionLower respiratory tract infectionConducting passagesSpecialtyPulmonology Frequency291 million (2015)[1]Deaths2.74 million (2015)[2] Lower respiratory tract infection (LRTI) is a term often used as a synonym for pneumonia but can also be applied to other types of infection including lung abscess and acute bronchitis. Symptoms include shortness of breath, weakness, fever, coughing and fatigue.[3] A routine chest X-ray is not always nece...

 

Ця стаття не містить посилань на джерела. Ви можете допомогти поліпшити цю статтю, додавши посилання на надійні (авторитетні) джерела. Матеріал без джерел може бути піддано сумніву та вилучено. (5 серпня 2023) Open XML Paper Specification (також називають OpenXPS) - відкритий графічний форма

Artikel ini perlu diwikifikasi agar memenuhi standar kualitas Wikipedia. Anda dapat memberikan bantuan berupa penambahan pranala dalam, atau dengan merapikan tata letak dari artikel ini. Untuk keterangan lebih lanjut, klik [tampil] di bagian kanan. Mengganti markah HTML dengan markah wiki bila dimungkinkan. Tambahkan pranala wiki. Bila dirasa perlu, buatlah pautan ke artikel wiki lainnya dengan cara menambahkan [[ dan ]] pada kata yang bersangkutan (lihat WP:LINK untuk keterangan lebih lanjut...

 

Catalan economist Joan Martinez Alier Joan Martinez Alier (born 1939, Barcelona, Spain) is a Catalan economist, Emeritus Professor of Economics and Economic History and researcher at ICTA at the Autonomous University of Barcelona.[1] He has made important contributions in ecological economics and political ecology, which he synthesised in his work on environmentalism of the poor. Part of a series onEcological economicsHumanity's economic system viewed as a subsystem of the global envi...

 

British television comedy drama series (2007–2009) This article is about the 2007 British television series. For the 2014 American television series, see Kingdom (American TV series). For the 2019 South Korean television series, see Kingdom (South Korean TV series). KingdomGenreComedy dramaCreated bySimon WheelerAlan Whiting (co-creator)Starring Stephen Fry Hermione Norris Celia Imrie Karl Davies Tony Slattery Phyllida Law John Thomson Dominic Mafham ComposerMark RussellCountry of originUni...

Church in Zamoscie , BelarusChurch of Saint BarbaraКасцёл Святой БарбарыLocationZamoscie (Slutsk District)CountryBelarusDenominationRoman Catholic churchArchitectureStyleRenaissanceCompleted1620AdministrationDioceseRoman Catholic Archdiocese of Minsk–Mohilev The Church of Saint Barbara in Zamoscie [ru] is a Catholic church in Belarus built in 1620. It is currently listed as part of the cultural heritage of Belarus.[1] The church was built with donatio...

 

State Legislative Assembly constituency in Tamil Nadu 13°04′03″N 80°09′48″E / 13.0675°N 80.1632°E / 13.0675; 80.1632 MaduravoyalConstituency for the Tamil Nadu Legislative AssemblyConstituency detailsCountryIndiaRegionSouth IndiaStateTamil NaduDistrictChennaiLS constituencySriperumbudurEstablished2011Total electors450,296[1]ReservationNoneMember of Legislative Assembly16th Tamil Nadu Legislative AssemblyIncumbent K. Ganapathy Party  DMKAll...

 

Commander of the Israeli Navyמפקד זרוע היםIncumbentVice admiral David Saar Salamasince 12 September 2016 Israeli NavyMember ofThe General StaffReports toChief of the General StaffAppointerChief of the General StaffFormation17 March 1948First holderGershon ZakWebsitewww.idf.il/en/minisites/general-staff/ The Commander of the Israeli Navy is the head and highest-ranking officer of the Israeli Navy, and has operational control and is responsible for overall operations of the...

German diplomat and scholar (1791–1860) Christian Charles Josias von Bunsen Christian Charles or Karl Josias von Bunsen (25 August 1791 – 28 November 1860), also known as Baron von Bunsen, was a German diplomat and scholar. Life Early life Bunsen was born at Korbach, an old town in the German principality of Waldeck. His father was a farmer who was driven by poverty to become a soldier.[1] Having studied at the Korbach gymnasium (a type of superior state grammar school) ...

 

Victorian garden square in Dublin, Ireland Grosvenor SquareGrosvenor Square in April 2018Native nameCearnóg Grosvenor (Irish)NamesakeGrosvenor Square, London (named after Sir Richard Grosvenor, 4th Baronet)Area1.5 hectares (3.7 acres)LocationRathmines, Dublin, IrelandPostal codeD06Coordinates53°19′27″N 6°16′25″W / 53.3243°N 6.2736°W / 53.3243; -6.2736OtherStatusProtected Structures (RPS 3343 - 3422)[1] For Grosvenor Square in London, England, ...

 

1984 studio album by TimbiricheTimbiriche VaselinaStudio album by TimbiricheReleased1984 (1984)Recorded1984GenrePop, MusicalLabelFonovisaTimbiriche chronology En Concierto(1983) Timbiriche Vaselina(1984) Timbiriche Rock Show(1985) Timbiriche Vaselina is the 5th album from Mexican pop music Group Timbiriche. It was released in 1984 and is based on the musical Grease (musical). It is presented by Luis De Llano and produced by Julissa.[1] Track listing Alma mater El raton No...

Vogue PolskaEditor-in-ChiefIna Lekiewicz LevyCategoriesFashionFrequencymonthlyFounded2018; 5 years ago (2018)CountryPolandBased inWarsawWebsitewww.vogue.pl Vogue Polska (meaning Vogue Poland) is the Polish edition of the American fashion and lifestyle monthly magazine Vogue. The magazine has been published since February 2018 and is the twenty-third local edition of Vogue.[1] Publication history In June 2017, it was announced that the Polish edition of Vogue was in p...

 

Type of discretization method A 2D non-compact stencil In numerical mathematics, a non-compact stencil is a type of discretization method, where any node surrounding the node of interest may be used in the calculation. Its computational time grows with an increase of layers of nodes used. Non-compact stencils may be compared to Compact stencils.[1][2] See also Nine-point stencil Five-point stencil References ^ W. F. Spotz. High-Order Compact Finite Difference Schemes for Compu...

 
Kembali kehalaman sebelumnya