Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.541.201 Times

Pycairo 1.10.0

Company: James Henstridge, Steve Chaplin and Maarten Breddels
Date Added: November 06, 2013  |  Visits: 211

Pycairo

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)



Pycairo is set of Python bindings for the cairo graphics library.<br /><br />About Cairo:<br /><br />Cairo is a software library used to provide a vector graphics??N*?*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.<br /><br />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.<br /><br />This simple example draws a blue triangle into a png file.<br /><br />#!/usr/bin/env python<br /><br />import cairo<br /><br />WIDTH, HEIGHT = 400, 400<br /><br /># Setup Cairo<br />surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, WIDTH, HEIGHT)<br />ctx = cairo.Context(surface)<br /><br /># Set thickness of brush<br />ctx.set_line_width(15)<br /><br /># Draw out the triangle using absolute coordinates<br />ctx.move_to(200, 100)<br />ctx.line_to(300, 300)<br />ctx.rel_line_to(-200, 0)<br />ctx.close_path()<br /><br /># Apply the ink<br />ctx.stroke()<br /><br /># Output a PNG file<br />surface.write_to_png("triangle.png")

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Bindings Cairo Cairosurface Cairowidth Designed Fileusrbinenv General Graphics Height Library License Mozilla Provide Public Pythonimport Setup Software Softwarethis Triangle
Users rating: 0/10

License: Freeware Size: 389.12 KB
USER REVIEWS
More Reviews or Write Review


PYCAIRO RELATED
Libraries  -  General Applet Interface Library 0.5.10
The goal of the General Applet Interface Library is to give programmers a simple yet powerful applet interface. This library supports wmapplet/dockapps, GNOME 2 panel applets, and ROX panel applets. This library supports at the moment Dockapps,...
286.72 KB  
Libraries  -  XLibs 0.0.2
XLibs was designed as a cross platform abstraction library that can provide primitives for common software elements. XLibs is provided as a header-only library in order to prevent having to compile libraries for different platforms.
 
3D Graphic Tools  -  GGI 2.2.2
GGI stands for General Graphics Interface, and it is a project that aims to develop a reliable, stable and fast graphics system that works everywhere. We want to allow any program using GGI to run on any platform, requiring at most a recompile....
4.5 MB  
Libraries  -  Libgcrypt 1.2.3
Libgcrypt is a general purpose cryptographic library based on the code from GnuPG. It provides functions for all cryptograhic building blocks: symmetric ciphers (AES, DES, Blowfish, CAST5, Twofish, Arcfour) hash algorithms (MD4, MD5,...
983.04 KB  
Libraries  -  pyemf 2.0.0
pyemf is a pure python module that provides bindings for an ECMA-234 compliant vector graphics library. ECMA-234 is the published interface for the Windows GDI used in the Microsoft windows environment and, more importantly, natively supported...
184.32 KB  
Multimedia & Graphics  -  Universal Viewer 5.5.2
Universal Viewer is an advanced file viewer which supports a wide range of file formats: · Text/ Binary/ Hex/ Unicode: all files, with unlimited file size (even 4Gb sizes are allowed); · RTF/UTF-8: RTF and UTF-8 encoded texts; · Image: all...
 
Development Editors  -  GFL SDK 3.40
GFL SDK was designed to be a free library (used by XnView) for developers who would like to support graphics image formats easily. NOTE: GFL SDK is provided as Freeware for private non-commercial or educational use (including non-profit...
 
Development Editors  -  XML Parse Lib 0.63
XML Parse Lib is a handy, simple set of re-usable functions designed for general purpose parsing, checking, and creating xml files. It can support stream-oriented, SAX or DOM parsing styles, and includes an optional xsd schema validator and...
 
Science  -  Automatic Drawing Generation 0.6.5
A GObject-based library that provides a non-interactive cairo canvas specifically designed for generating technical drawings.
864.35 KB  
Games  -  glElite 1.3
Teddy is general graphics library and space-roleplaying game framework.
580.05 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB