From 897486c54c6a54771867d667441aaf9a4b9c35ca Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 16 Jul 2010 00:50:39 -0700 Subject: [PATCH] specs/libX11: App. D: convert literallayouts to synopsis or programlisting Signed-off-by: Alan Coopersmith --- specs/libX11/AppD.xml | 34 +++++++--------------------------- 1 file changed, 7 insertions(+), 27 deletions(-) diff --git a/specs/libX11/AppD.xml b/specs/libX11/AppD.xml index ff3e3161..576fd675 100644 --- a/specs/libX11/AppD.xml +++ b/specs/libX11/AppD.xml @@ -744,19 +744,9 @@ colormap for a display, you use XGetStandardColormap with the following syntax: - - - - - - - + XGetStandardColormap(dpy, DefaultRootWindow(dpy), &cmap, XA_RGB_GRAY_MAP); - - - - - + See section 14.3 for the semantics of standard colormaps. @@ -1335,23 +1325,13 @@ vertex structure. Each Vertex, as defined in <X11/X10.h>, is a structure with the following members: - - - Vertex - - - - + typedef struct _Vertex { short x,y; unsigned short flags; } Vertex; - - - - - + The x and y members are the coordinates of the vertex that are relative to either the upper left inside corner of the drawable (if @@ -1371,15 +1351,14 @@ are as follows: VertexStartClosed VertexEndClosed - - + VertexRelative 0x0001 /* else absolute */ VertexDontDraw 0x0002 /* else draw */ VertexCurved 0x0004 /* else straight */ VertexStartClosed 0x0008 /* else not */ VertexEndClosed 0x0010 /* else not */ - + @@ -1443,6 +1422,7 @@ and successor vertices for the spline algorithm. + This function uses these GC components: