# Deprecated List

Member Cairo::Context::device_to_user (double& x, double& y)
  Use the const version.

Member Cairo::Context::device_to_user_distance (double& dx, double& dy)
  Use the const version.

Member Cairo::Context::set_dash (std::valarray< double >& dashes, double offset)
  Instead use the version that takes a const dashes parameter.

Member Cairo::Context::set_dash (std::vector< double >& dashes, double offset)
  Instead use the version that takes a const dashes parameter.

Member Cairo::Context::user_to_device (double& x, double& y)
  Use the const version.

Member Cairo::Context::user_to_device_distance (double& dx, double& dy)
  Use the const version.

Member Cairo::FONT_TYPE_ATSUI
  Use FONT_TYPE_QUARTZ instead.

Member Cairo::ImageSurface::create_from_png (cairo_read_func_t read_func, void* closure)
  Use create_from_png_stream instead

Member Cairo::PdfSurface::create (cairo_write_func_t write_func, void* closure, double width_in_points, double height_in_points)
  use PdfSurface::create_for_stream() instead

Member Cairo::PsSurface::create (cairo_write_func_t write_func, void* closure, double width_in_points, double height_in_points)
  use PsSurface::create_for_stream() instead

Member Cairo::ScaledFont::extents (FontExtents& extents) const
  Use get_extents() instead

Member Cairo::ScaledFont::glyph_extents (const std::vector< Glyph >& glyphs, TextExtents& extents)
  Use get_glyph_extents() instead

Member Cairo::ScaledFont::text_extents (const std::string& utf8, TextExtents& extents) const
  Use get_text_extents() instead

Member Cairo::Surface::write_to_png (cairo_write_func_t write_func, void* closure)
  Use write_to_png_stream instead

Member Cairo::SvgSurface::create (cairo_write_func_t write_func, void* closure, double width_in_points, double height_in_points)
  Use SvgSurface::create_for_stream() instead

Member Cairo::Win32Surface::create (Format format, int width, int height)
  use create_with_dib()