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

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

Serving Software Downloads in 956 Categories, Downloaded 50.195.844 Times

Pycairo 1.10.0

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

Pycairo

Report Broken Link
Printer Friendly Version


Product Homepage
Download (40 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  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
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  
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB