---
name: "Gnome2::Print::Context"
section: "3pm"
platform: "linux"
package: "libgnome2-print-perl"
version: "0.95.1-1+b1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/Gnome2::Print::Context"
---

# Gnome2::Print::Context(3pm)

Gnome2::Print::Context

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

**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) Config Filter Transport Gnome2::Print, Glib::Object Copyright (C) 2003-2004 by the gtk2-perl team. This software is licensed under the LGPL.  See Gnome2::Print for a full notice.
