Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cairo(3) [php man page]

CAIRO(3)								 1								  CAIRO(3)

The Cairo class

INTRODUCTION
Simple class with some static helper methods. CLASS SYNOPSIS
Cairo Cairo Methods o publicstatic array Cairo::availableFonts (void ) o publicstatic array Cairo::availableSurfaces (void ) o publicstatic string Cairo::statusToString (int $status) o publicstatic int Cairo::version (void ) o publicstatic string Cairo::versionString (void ) PHP Documentation Group CAIRO(3)

Check Out this Related Man Page

Gtk2::Gdk::Cairo::Context(3pm)				User Contributed Perl Documentation			    Gtk2::Gdk::Cairo::Context(3pm)

NAME
Gtk2::Gdk::Cairo::Context HIERARCHY
Cairo::Context +---- Gtk2::Gdk::Cairo::Context (Perl subclass) DESCRIPTION
This is some inter-operation between Cairo (see Cairo) and Gdk things. A "Gtk2::Gdk::Cairo::Context" lets Cairo draw on a Gdk drawable (window or pixmap). It's a Perl-level subclass of "Cairo::Context" and the various functions below can be used as methods on it. The methods can also be used on other "Cairo::Context" as plain functions. For example "set_source_pixbuf" can setup to draw from a "Gtk2::Gdk::Pixbuf" to any Cairo context, my $cr = Cairo::Context->create ($surface); Gtk2::Gdk::Cairo::Context::set_source_pixbuf ($cr, $pixbuf, $x,$y); $cr->paint; METHODS
gdkcr = Gtk2::Gdk::Cairo::Context->create ($drawable) o $drawable (Gtk2::Gdk::Drawable) $gdkcr->rectangle ($rectangle) $gdkcr->rectangle ($x, $y, $width, $height) Gtk2::Gdk::Cairo::Context::rectangle ($anycr, $rectangle) o $rectangle (Gtk2::Gdk::Rectangle) The 4-argument x,y,width,height is the base Cairo::Context style. This extends to also take a "Gtk2::Gdk::Rectangle". $gdkcr->region ($region) Gtk2::Gdk::Cairo::Context::region ($anycr, $region) o $region (Gtk2::Gdk::Region) $gdkcr->reset_clip ($drawable) Gtk2::Gdk::Cairo::Context::reset_clip ($anycr, $drawable) o $drawable (Gtk2::Gdk::Drawable) Since: gtk+ 2.18 $gdkcr->set_source_color ($color) Gtk2::Gdk::Cairo::Context::set_source_color ($anycr, $color) o $color (Gtk2::Gdk::Color) $gdkcr->set_source_pixbuf ($pixbuf, $pixbuf_x, $pixbuf_y) Gtk2::Gdk::Cairo::Context::set_source_pixbuf ($anycr, $pixbuf, $pixbuf_x, $pixbuf_y) o $pixbuf (Gtk2::Gdk::Pixbuf) o $pixbuf_x (double) o $pixbuf_y (double) $gdkcr->set_source_pixmap ($pixmap, $pixmap_x, $pixmap_y) Gtk2::Gdk::Cairo::Context::set_source_pixmap ($anycr, $pixmap, $pixmap_x, $pixmap_y) o $pixmap (Gtk2::Gdk::Pixmap) o $pixmap_x (double) o $pixmap_y (double) Since: gtk+ 2.10 SEE ALSO
Gtk2 COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::Gdk::Cairo::Context(3pm)
Man Page

2 More Discussions You Might Find Interesting

1. Red Hat

Installing cairo-dock or any other desktop customization software

Dear all, I want to install cairo-dock or any other substitute desktop customization software in my RedHat Linux 5.3 machine. I think cairo-dock is for fedora linux,i need RedHat compatible. Can any one provide me with the appropriate link and installation steps for the same. ... (0 Replies)
Discussion started by: monojcool
0 Replies

2. UNIX for Advanced & Expert Users

How to find required packages needed by cairo?

Hello, I am currently trying to install and old version of Cairo. I tried two versions, 10.5 and 1.1.1 and they say similar things. Pango 1.1.1 says: and Pango 1.0.5 says: So quite similar. I downloaded two freetype packages, versions number 2.9.1 and 2.2.1 and passed them through... (2 Replies)
Discussion started by: colt
2 Replies