Editing
Portal:Graphics Programming
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Cairo and modern 2D graphics === '''Cairo''' is a 2D vector graphics library with support for multiple output backends. MetaCPAN describes the Perl `Cairo` module as Perl bindings for the Cairo vector graphics library, supporting output targets including PNG, PDF, and SVG.<ref>MetaCPAN, βCairo,β https://metacpan.org/pod/Cairo, accessed July 3, 2026.</ref> Cairo is significant because it provides a more modern drawing model than older simple raster libraries. It can target screen displays, images, PDF documents, and SVG output. That makes it useful for report generation, diagrams, vector graphics, print output, and GUI drawing. In Perl, Cairo has often been associated with GNOME/Gtk-related graphics, PDF/SVG generation, and lower-level drawing. It is useful when the goal is not only image manipulation but controlled drawing across multiple output formats. Cairo-style graphics are useful for: * PDF report graphics; * SVG output; * anti-aliased drawing; * charts and diagrams; * vector shapes; * text and glyph rendering; * GUI graphics; * print-oriented output.
Summary:
Please note that all contributions to Perl Guilds - Getting Medieval with Perl may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Perl Guilds - Getting Medieval with Perl:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information