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

NAME

6       XkbAllocGeomOutlines  -  Allocate space for an arbitrary number of out‐
7       lines to a shape
8

SYNOPSIS

10       Status XkbAllocGeomOutlines (XkbShapePtr shape, int num_needed);
11

ARGUMENTS

13       - shape
14              shape for which outlines should be allocated
15
16       - num_needed
17              number of new outlines required
18

DESCRIPTION

20       Xkb provides a number of functions to allocate and  free  subcomponents
21       of  a  keyboard  geometry. Use these functions to create or modify key‐
22       board geometries.  Note that these functions merely allocate space  for
23       the  new  element(s), and it is up to you to fill in the values explic‐
24       itly in your code. These allocation functions increase sz_*  but  never
25       touch  num_* (unless there is an allocation failure, in which case they
26       reset both sz_* and num_* to zero). These functions return  Success  if
27       they  succeed, BadAlloc if they are not able to allocate space, or Bad‐
28       Value if a parameter is not as expected.
29
30       XkbAllocGeomOutlines allocates space for  num_needed  outlines  in  the
31       specified shape.  The outlines are not initialized.
32
33       To free geometry outlines, use XkbFreeGeomOutlines.
34

DIAGNOSTICS

36       BadAlloc       Unable to allocate storage
37
38       BadValue       An argument is out of range
39

SEE ALSO

41       XkbFreeGeomOutlines(3)
42
43
44
45X Version 11                     libX11 1.6.5          XkbAllocGeomOutlines(3)
Impressum