~ubuntu-branches/ubuntu/trusty/rgtk2/trusty

« back to all changes in this revision

Viewing changes to man/cairoClipPreserve.Rd

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2010-11-03 11:35:46 UTC
  • mfrom: (1.3.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20101103113546-a7fi7jdxdebp0tw1
Tags: 2.20.1-1
* New upstream release

* debian/control: Set (Build-)Depends: to current R version
* debian/control: Set Standards-Version: to current version 

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
region with the current path as it would be filled by \code{\link{cairoFill}}
6
6
and according to the current fill rule (see \code{\link{cairoSetFillRule}}).}
7
7
\usage{cairoClipPreserve(cr)}
8
 
\arguments{\item{\verb{cr}}{[\verb{\link{Cairo}}]  a cairo context}}
 
8
\arguments{\item{\verb{cr}}{[\code{\link{Cairo}}]  a cairo context}}
9
9
\details{Unlike \code{\link{cairoClip}}, \code{\link{cairoClipPreserve}} preserves the path within
10
10
the cairo context.
11
11
  
13
13
effectively masking out any changes to the surface that are outside
14
14
the current clip region.
15
15
  
16
 
Calling \code{\link{cairoClip}} can only make the clip region smaller, never
 
16
Calling \code{\link{cairoClipPreserve}} can only make the clip region smaller, never
17
17
larger. But the current clip is part of the graphics state, so a
18
18
temporary restriction of the clip region can be achieved by
19
 
calling \code{\link{cairoClip}} within a \code{\link{cairoSave}}/\code{\link{cairoRestore}}
 
19
calling \code{\link{cairoClipPreserve}} within a \code{\link{cairoSave}}/\code{\link{cairoRestore}}
20
20
pair. The only other means of increasing the size of the clip
21
21
region is \code{\link{cairoResetClip}}.  }
22
22
\author{Derived by RGtkGen from GTK+ documentation}