[cairo] [PATCH] doc: fix some broken references

Maarten Bosmans mkbosmans at gmail.com
Tue Dec 28 04:50:26 PST 2010


This fixes some obvious mistakes in the docs.

The only one I'm not quite sure about is changing
CAIRO_STATUS_DEVICE_FINISHED to CAIRO_STATUS_SURFACE_FINISHED. It
seems that that is what the code returns, but may be the documentation
is correct and CAIRO_STATUS_DEVICE_FINISHED should be added to
cairo_status_t.

Stuff that is not in this patch (more knowledgable people should look into this)
 - cairo_win32_scaled_font_create_for_logfontw()
   in the docs for cairo_win32_scaled_font_select_font().
   It does not exist, but I'm not quite sure if replacing it with
   cairo_win32_font_create_for_logfontw() is correct.
 - cairo_pdf_surface_create_for_callback() in language-bindings.xml.
   It seems to me that the whole remark here is not appropriate
   for the docs and can be removed.
 - cairo_xcb_device_create() and
   cairo_xcb_device_debug_set_render_version() in cairo.h.
  These functions do not exist currently.

Maarten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-doc-fix-some-broken-references.patch
Type: application/octet-stream
Size: 6705 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20101228/e41623ca/attachment.obj>


More information about the cairo mailing list