cairoSetTolerance: cairoSetTolerance

Description Usage Arguments Author(s)

View source: R/cairoFuncs.R

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

1
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


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.