Search Perform an advanced search query SOFTPEDIA
 
SOFTPEDIA
Updated one minute ago
HomeSubmit a program for being reviewedAdvertise on our websiteGet help on surfing our websitesSend us your feedbackGet information about our XML/RSS backend and how to use itBrowse the news archiveVisit our discussion forumVizitati forumul in limba romana



Program Finder

Pycairo 1.4.12

Download Pycairo 1.4.12
Add to download basket
Send update information
Rating: Poor
Rated by: 9 user(s)

Recent news
- Ovei Media Pod Helps You Ge...
- Breath of Fire: Dragon Quar...
- Analyze That: Videogames Ar...
- Playwatch 1.2 Adds Remote C...
- Apple Store Roundup
- Mega Man 9 Coming to WiiWare
- 10.5.4 Raw Camera Support
- Basic Computer Protection i...
- Dragon Nest Turns You into ...
- Bratz: Rock Angelz Cheats I...

Downloads: 144
Developer: James Henstridge, Steve Chaplin and Maarten Breddels | More programs by this producer
License: LGPL (GNU Lesser General Public License)
Price: FREE 
Last Updated: April 14th, 2008 08:32
Category: MAIN :: Programming :: Libraries
 Read user reviews (0) Add a review Refer to friend Subscribe

Pycairo description Download
Pycairo is set of Python bindings for the cairo graphics library.

About Cairo:

Cairo is a software library used to provide a vector graphics–based, device-independent API for software developers. It is designed to provide primitives for 2-dimensional drawing across a number of different backends. Cairo is designed to use hardware acceleration when available.

Although written in C, there are bindings for using the cairo graphics library from many other programming languages, including Haskell, Java, Perl, Scheme, Smalltalk and several others. Dual licensed under the GNU Lesser General Public License and the Mozilla Public License, cairo is free software.

This simple example draws a blue triangle into a png file.

#!/usr/bin/env python

import cairo

WIDTH, HEIGHT = 400, 400

# Setup Cairo
surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, WIDTH, HEIGHT)
ctx = cairo.Context(surface)

# Set thickness of brush
ctx.set_line_width(15)

# Draw out the triangle using absolute coordinates
ctx.move_to(200, 100)
ctx.line_to(300, 300)
ctx.rel_line_to(-200, 0)
ctx.close_path()

# Apply the ink
ctx.stroke()

# Output a PNG file
surface.write_to_png("triangle.png")

Pycairo Download
Pycairo Screenshots
Find Related Downloads



MOST POPULAR PROGRAMS IN THIS CATEGORY ( Libraries )  

libdvdcss 1.2.9
libdvdcss is a portable abstraction library for transparent DVD access with CSS decryption.
screenshot
pick | update
Quicktime for Linux 2.2
Quicktime for Linux is Quicktime support for Unix.
screenshot
update
zlib 1.2.3
zlib is a compression/decompression Library.
screenshot
pick | update
libjpeg v6b
libjpeg is a library of JPEG support functions.
screenshot
pick | update
GLib2 2.14.6
GLib is a library containing many useful C routines for things such as trees, hashes, and lists.
screenshot
pick | update
x264
x264 is a free library for encoding H264/AVC video streams.
screenshot
update
tcpdump 3.9.8
tcpdump is a packet filtering library that works with libcap.
screenshot
pick | update

go to top  



Welcome!
Hello, Guest

Login if you have a Softpedia.com account.

Otherwise, register for one.

Main categories:
  • Adaptive Technologies
  • Adobe AIR Apps
  • Artistic Software
  • Communications
  • Database
  • Desktop Environment
  • Documentation
  • Education
  • Games
  • Home Automation
  • Information Management
  • Internet
  • Multimedia
  • Office
  • Printing
  • Programming
  • Religion
  • Science
  • Science and Engineering
  • Security
  • System
  • Text Editing&Processing
  • Utilities

  • Week's best:
  • Softpedia Linux RSS ...
  • Ubuntu 8.04 (Hardy H...
  • Pidgin 2.4.3
  • Adobe Flash Player f...
  • The Gimp 2.4.6 / 2.5...
  • openSUSE Linux 11.0
  • Linux Kernel 2.6.25....
  • Super Grub Disk 0.97...
  • Skype 2.0.0.68
  • OpenOffice.org 2.4.1...
  • Mozilla Firefox 3.0 ...
  • Transmission 1.22
  • DeVeDe 3.9
  • Wine 1.1.0
  • wine-doors 0.1.2
  • Shoreline Firewall 4...
  • Linux Mint 5.0 (Elys...
  • Google Gadgets 0.9.3
  • Fedora 9
  • Opera 9.51
  • Latest Distributions
  • Pardus Linux 2008
  • Poseidon Linux 3.0
  • GParted LiveCD 0.3.7...
  • Elive 1.7.8 Developm...
  • Foresight Linux 2.0....
  • Amacdys 0.23
  • DAVIX Beta
  • Freezy Linux 1.1
  • F-Secure Rescue CD 3...
  • Myah Linux 3.0 Drago...
  • sidux 2008-02
  • Granular Linux 0.90 ...
  • SabayonLinux 3.5
  • KDE 4.0 Live CD 1.0....
  • Xubuntu 8.10 (Intrep...
  • Kubuntu 8.10 (Intrep...
  • Ubuntu 8.10 (Intrepi...
  • Greenie Linux 3.0.3H
  • GoblinX Mini 2.7
  • Slamd64 12.1
  • Latest Ubuntu Packages
  • Sauerbraten 0.0.2008...
  • XWii 2.5
  • Domain Technologie C...
  • FrostWire 4.13.5
  • aMSN 0.97.1
  • Ubuntu Tweak 0.3.4
  • electricsheep 2.6.8 ...
  • ManDVD 2.5-2
  • Yabause 0.9.6
  • Asunder 1.6
  • SongBird 0.6.1
  • Smb4k 0.9.6 / 0.10.0...
  • NoteCase 1.9.3
  • Tasque 0.1.6
  • Freeciv 2.1.5
  • Flock 1.2.2 / 2.0 Be...
  • OpenArena 0.7.7
  • gtk-recordMyDesktop ...
  • recordMyDesktop 0.3....
  • © 2001 - 2008 Softpedia. All rights reserved.
    Softpedia™ and Softpedia™ logo are registered trademarks of SoftNews NET SRL.
    Copyright Information | Privacy Policy | Terms of Use | Contact Softpedia | Update your software | Archive