1XkbFreeGeomPoints(3) XKB FUNCTIONS XkbFreeGeomPoints(3)
2
3
4
6 XkbFreeGeomPoints - Free points in a outline
7
9 void XkbFreeGeomPoints (XkbOutlinePtr outline, int first, int count,
10 Bool free_all);
11
13 outline
14 outline in which points should be freed
15
16 first first point to be freed
17
18 count number of points to be freed
19
20 free_all
21 True => all points are freed
22
24 Xkb provides a number of functions to allocate and free subcomponents
25 of a keyboard geometry. Use these functions to create or modify key‐
26 board geometries. Note that these functions merely allocate space for
27 the new element(s), and it is up to you to fill in the values explic‐
28 itly in your code. These allocation functions increase sz_* but never
29 touch num_* (unless there is an allocation failure, in which case they
30 reset both sz_* and num_* to zero). These functions return Success if
31 they succeed, BadAlloc if they are not able to allocate space, or Bad‐
32 Value if a parameter is not as expected.
33
34 If free_all is True, all points are freed regardless of the value of >i
35 first and count. Otherwise, the number of points specified by count
36 are freed, beginning with the point specified by first in the specified
37 outline.
38
40 Success The XkbFreeGeomPoints function returns Success when
41 there are no allocation or argument errors.
42
44 BadAlloc Unable to allocate storage
45
46 BadValue An argument is out of range
47
48
49
50X Version 11 libX11 1.8.7 XkbFreeGeomPoints(3)