Beispiel #1
0
// GetTolerance is a wrapper around cairo_get_tolerance().
func (v *Context) GetTolerance() float64 {
	c := C.cairo_get_tolerance(v.native())
	return float64(c)
}
Beispiel #2
0
//Tolerance reports the tolerance in device units.
//
//Originally cairo_get_tolerance.
func (c *Context) Tolerance() float64 {
	return float64(C.cairo_get_tolerance(c.c))
}