mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 21:08:10 +02:00
Fix a few documentation typos in the recent xlib surface rework.
This commit is contained in:
parent
95859dc2c6
commit
55366995b6
3 changed files with 17 additions and 8 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2005-05-14 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairo-xlib-surface.c: (cairo_test_xlib_disable_render),
|
||||
(cairo_xlib_surface_create_with_visual):
|
||||
* test/.cvsignore: Fix a few documentation typos in the recent
|
||||
xlib surface rework.
|
||||
|
||||
2005-05-14 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairo-atsui.h:
|
||||
|
|
|
|||
|
|
@ -105,14 +105,15 @@ static cairo_bool_t cairo_xlib_render_disabled = FALSE;
|
|||
* Disables the use of the RENDER extension.
|
||||
*
|
||||
* <note>
|
||||
* This function is for testing use within the Cairo distribution
|
||||
* <emphasis>only</emphasis> and is in any publically installed header.
|
||||
* This function is <emphasis>only</emphasis> intended for internal
|
||||
* testing use within the cairo distribution. It is not installed in
|
||||
* any public header file.
|
||||
* </note>
|
||||
**/
|
||||
void
|
||||
cairo_test_xlib_disable_render (void)
|
||||
{
|
||||
cairo_xlib_render_disabled = TRUE;
|
||||
cairo_xlib_render_disabled = TRUE;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
@ -1095,8 +1096,8 @@ _cairo_xlib_surface_create_internal (Display *dpy,
|
|||
|
||||
/**
|
||||
* cairo_xlib_surface_create:
|
||||
* @dpy: an X display
|
||||
* @drawable: an X drawable
|
||||
* @dpy: an X Display
|
||||
* @drawable: an X Drawable, (a Pixmap or a Window)
|
||||
* @format: a standard cairo pixel data format. The depth (number of
|
||||
* of bits used) for the format must match the depth of
|
||||
* @pixmap.
|
||||
|
|
@ -1121,8 +1122,8 @@ cairo_xlib_surface_create (Display *dpy,
|
|||
|
||||
/**
|
||||
* cairo_xlib_surface_create_with_visual:
|
||||
* @dpy: an X display
|
||||
* @drawable: an X pixmap
|
||||
* @dpy: an X Display
|
||||
* @drawable: an X Drawable, (a Pixmap or a Window)
|
||||
* @visual: the visual to use for drawing to @drawable. The depth
|
||||
* of the visual must match the depth of the drawable.
|
||||
* Currently, only TrueColor visuals are fully supported.
|
||||
|
|
@ -1144,7 +1145,7 @@ cairo_xlib_surface_create (Display *dpy,
|
|||
**/
|
||||
cairo_surface_t *
|
||||
cairo_xlib_surface_create_with_visual (Display *dpy,
|
||||
Pixmap pixmap,
|
||||
Drawable drawable,
|
||||
Visual *visual)
|
||||
{
|
||||
return _cairo_xlib_surface_create_internal (dpy, pixmap,
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ transforms
|
|||
translate-show-surface
|
||||
trap-clip
|
||||
user-data
|
||||
xlib-surface
|
||||
*-image-out.png
|
||||
*-xlib-out.png
|
||||
*-diff.png
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue