// GetFallbackResolution is a wrapper around // cairo_surface_get_fallback_resolution(). func (v *Surface) GetFallbackResolution() (xPPI, yPPI float64) { var x, y C.double C.cairo_surface_get_fallback_resolution(v.native(), &x, &y) return float64(x), float64(y) }
func (self *Surface) GetFallbackResolution() (xPixelPerInch, yPixelPerInch float64) { C.cairo_surface_get_fallback_resolution(self.surface, (*C.double)(&xPixelPerInch), (*C.double)(&yPixelPerInch)) return xPixelPerInch, yPixelPerInch }
func fallbackResolution(s *C.cairo_surface_t) (xppi, yppi float64) { var x, y C.double C.cairo_surface_get_fallback_resolution(s, &x, &y) return float64(x), float64(y) }