[cairo-commit] src/cairo.h

Søren Sandmann Pedersen sandmann at kemper.freedesktop.org
Sat Aug 7 09:14:27 PDT 2010


 src/cairo.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit fc4e8f036326da1839ec5320eba60823e7efc2db
Author: Søren Sandmann Pedersen <ssp at redhat.com>
Date:   Sat Aug 7 12:10:49 2010 -0400

    Update documentation to reflect that rgb565 is no longer deprecated.

diff --git a/src/cairo.h b/src/cairo.h
index 8e7594c..bc698a2 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -2265,9 +2265,9 @@ cairo_surface_has_show_text_glyphs (cairo_surface_t *surface);
  *   endianess of the platform. On a big-endian machine, the
  *   first pixel is in the uppermost bit, on a little-endian
  *   machine the first pixel is in the least-significant bit.
- * @CAIRO_FORMAT_RGB16_565: This format value is deprecated. It has
- *   never been properly implemented in cairo and should not be used
- *   by applications. (since 1.2)
+ * @CAIRO_FORMAT_RGB16_565: each pixel is a 16-bit quantity
+ *   with red in the upper 5 bits, then green in the middle
+ *   6 bits, and blue in the lower 5 bits.
  *
  * #cairo_format_t is used to identify the memory format of
  * image data.


More information about the cairo-commit mailing list