2 * fontconfig/doc/fcrange.fncs
4 * Copyright © 2003 Keith Packard
6 * Permission to use, copy, modify, distribute, and sell this software and its
7 * documentation for any purpose is hereby granted without fee, provided that
8 * the above copyright notice appear in all copies and that both that
9 * copyright notice and this permission notice appear in supporting
10 * documentation, and that the name of the author(s) not be used in
11 * advertising or publicity pertaining to distribution of the software without
12 * specific, written prior permission. The authors make no
13 * representations about the suitability of this software for any purpose. It
14 * is provided "as is" without express or implied warranty.
16 * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18 * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22 * PERFORMANCE OF THIS SOFTWARE.
26 @TYPE1@ const FcRange * @ARG1@ range
27 @PURPOSE@ Copy a range object
29 <function>FcRangeCopy</function> creates a new FcRange object and
30 populates it with the contents of <parameter>range</parameter>.
35 @FUNC@ FcRangeCreateDouble
36 @TYPE1@ double @ARG1@ begin
37 @TYPE2@ double @ARG2@ end
38 @PURPOSE@ create a range object for double
40 <function>FcRangeCreateDouble</function> creates a new FcRange object with
46 @FUNC@ FcRangeCreateInteger
47 @TYPE1@ int @ARG1@ begin
48 @TYPE2@ int @ARG2@ end
49 @PURPOSE@ create a range object for integer
51 <function>FcRangeCreateInteger</function> creates a new FcRange object with
58 @TYPE1@ FcRange * @ARG1@ range
59 @PURPOSE@ destroy a range object
61 <function>FcRangeDestroy</function> destroys a FcRange object, freeing
62 all memory associated with it.
67 @FUNC@ FcRangeGetDouble
68 @TYPE1@ const FcRange * @ARG1@ range
69 @TYPE2@ double * @ARG2@ begin
70 @TYPE3@ double * @ARG3@ end
71 @PURPOSE@ Get the range in double
73 Returns in <parameter>begin</parameter> and <parameter>end</parameter> as the range.