Learn R Programming

RGtk2 (version 2.10.9-1)

cairoStrokeExtents: cairoStrokeExtents

Description

Computes a bounding box in user coordinates covering the area that would be affected by a cairoStroke operation operation given the current path and stroke parameters. If the current path is empty,

Usage

cairoStrokeExtents(cr)

Arguments

cr
[Cairo] a cairo context

Value

  • A list containing the following elements:
  • x1[numeric] left of the resulting extents
  • y1[numeric] top of the resulting extents
  • x2[numeric] right of the resulting extents
  • y2[numeric] bottom of the resulting extents