Gnome2::Print::Context.3pm

Langue: en

Version: 2010-05-12 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Gnome2::Print::Context

HIERARCHY

   Glib::Object
   +----Gnome2::Print::Context
 
 

METHODS

context = Gnome2::Print::Context->new ($config)

*
$config (Gnome2::Print::Config)

integer = $pc->newpath

integer = $pc->arcto ($x, $y, $radius, $angle1, $angle2, $direction)

*
$x (double)
*
$y (double)
*
$radius (double)
*
$angle1 (double)
*
$angle2 (double)
*
$direction (integer)

integer = $pc->beginpage ($name)

*
$name (Glib::UChar)

integer = $pc->clip

integer = $pc->close

integer = $pc->closepath

integer = $ctx->create_transport

integer = $pc->curveto ($x1, $y1, $x2, $y2, $x3, $y3)

*
$x1 (double)
*
$y1 (double)
*
$x2 (double)
*
$y2 (double)
*
$x3 (double)
*
$y3 (double)

integer = $pc->eoclip

integer = $pc->eofill

integer = $pc->fill

integer = $pc->glyphlist ($glyphlist)

*
$glyphlist (Gnome2::Print::GlyphList)

integer = $pc->grayimage ($data, $width, $height, $rowstride)

*
$data (Glib::UChar)
*
$width (integer)
*
$height (integer)
*
$rowstride (integer)

integer = $pc->grestore

integer = $pc->gsave

integer = $pc->line_stroked ($x0, $y0, $x1, $y1)

*
$x0 (double)
*
$y0 (double)
*
$x1 (double)
*
$y1 (double)

integer = $pc->lineto ($x, $y)

*
$x (double)
*
$y (double)

integer = $pc->moveto ($x, $y)

*
$x (double)
*
$y (double)

integer = $pc->rect_filled ($x, $y, $width, $height)

*
$x (double)
*
$y (double)
*
$width (double)
*
$height (double)

integer = $pc->rect_stroked ($x, $y, $width, $height)

*
$x (double)
*
$y (double)
*
$width (double)
*
$height (double)

integer = $pc->rgbaimage ($data, $width, $height, $rowstride)

*
$data (Glib::UChar)
*
$width (integer)
*
$height (integer)
*
$rowstride (integer)

integer = $pc->rgbimage ($data, $width, $height, $rowstride)

*
$data (Glib::UChar)
*
$width (integer)
*
$height (integer)
*
$rowstride (integer)

integer = $pc->rotate ($theta)

*
$theta (double)

integer = $pc->scale ($sx, $sy)

*
$sx (double)
*
$sy (double)

integer = $pc->setfont ($font)

*
$font (Gnome2::Print::Font)

integer = $pc->setlinecap ($captype)

*
$captype (integer)

integer = $pc->setlinejoin ($jointype)

*
$jointype (integer)

integer = $pc->setlinewidth ($width)

*
$width (double)

integer = $pc->setmiterlimit ($limit)

*
$limit (double)

integer = $pc->setopacity ($opacity)

*
$opacity (double)

integer = $pc->setrgbcolor ($r, $g, $b)

*
$r (double)
*
$g (double)
*
$b (double)

integer = $pc->show ($text)

*
$text (Glib::UChar)

integer = $pc->show_sized ($text, $bytes)

*
$text (Glib::UChar)
*
$bytes (integer)

integer = $pc->showpage

integer = $pc->stroke

integer = $pc->strokepath

integer = $pc->translate ($x, $y)

*
$x (double)
*
$y (double)

PROPERTIES

'config' (Gnome2::Print::Config : readable / writable)
Config
'filter' (Glib::Object::_Unregistered::GnomePrintFilter : readable / writable)
Filter
'transport' (Glib::Object::_Unregistered::GnomePrintTransport : readable / writable)
Transport

SEE ALSO

Gnome2::Print, Glib::Object Copyright (C) 2003-2006 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2::Print for a full notice.