cairoSetTolerance {RGtk2} | R Documentation

## cairoSetTolerance

### Description

Sets the tolerance used when converting paths into trapezoids. Curved segments of the path will be subdivided until the maximum deviation between the original path and the polygonal approximation is less than `tolerance`. The default value is 0.1. A larger value will give better performance, a smaller value, better appearance. (Reducing the value from the default value of 0.1 is unlikely to improve appearance significantly.) The accuracy of paths within Cairo is limited by the precision of its internal arithmetic, and the prescribed `tolerance` is restricted to the smallest representable internal value.

### Usage

    cairoSetTolerance(cr, tolerance)

### Arguments

``cr`` | [`Cairo`] a `Cairo`
``tolerance`` | [numeric] the tolerance, in device units (typically pixels)

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]