1XkbAddGeomOutline(3)             XKB FUNCTIONS            XkbAddGeomOutline(3)
2
3
4

NAME

6       XkbAddGeomOutline - Add one outline to an existing shape
7

SYNOPSIS

9       XkbOutlinePtr XkbAddGeomOutline (XkbShapePtr shape, int sz_points);
10

ARGUMENTS

12       - shape
13              shape to be updated
14
15       - sz_points
16              number of points to be reserved
17

DESCRIPTION

19       Xkb  provides  functions  to  add a single new element to the top-level
20       keyboard geometry. In each case the num_ * fields of the  corresponding
21       structure  is  incremented by 1. These functions do not change sz_* un‐
22       less there is no more room in the array. Some of these  functions  fill
23       in  the values of the element's structure from the arguments. For other
24       functions, you must explicitly write code to fill the structure's  ele‐
25       ments.
26
27       The  top-level geometry description includes a list of geometry proper‐
28       ties.  A geometry property  associates  an  arbitrary  string  with  an
29       equally  arbitrary  name. Programs that display images of keyboards can
30       use geometry properties as hints, but they are not interpreted by  Xkb.
31       No other geometry structures refer to geometry properties.
32
33       An  outline  consists of an arbitrary number of points.  XkbAddGeomOut‐
34       line adds an outline to the  specified  shape  by  reserving  sz_points
35       points for it. The new outline is allocated and zeroed.  XkbAddGeomOut‐
36       line returns NULL if any of the parameters is empty or if  it  was  not
37       able  to  allocate  space. To allocate space for an arbitrary number of
38       outlines to a shape, use XkbAllocGeomOutlines.
39

STRUCTURES

41           typedef struct _XkbOutline {
42               unsigned short    num_points;      /∗ number of points in the outline */
43               unsigned short    sz_points;       /∗ size of the points array */
44               unsigned short    corner_radius;   /∗ draw corners as circles with this radius */
45               XkbPointPtr       points;          /∗ array of points defining the outline */
46           } XkbOutlineRec, *XkbOutlinePtr;
47
48

SEE ALSO

50       XkbAllocGeomOutlines(3)
51
52
53
54X Version 11                     libX11 1.7.0             XkbAddGeomOutline(3)
Impressum