X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=doc%2Ffcmatrix.fncs;h=a53ade9464d55fe6de4645c97f12ed22b677d697;hb=8c58dc276895cbeb0e9ae79718b1a38a082709d3;hp=ada589b18d2945af116f576ad1b91729cdd16b1c;hpb=22671e25510e77af1a8f2b569314ba2de1c93353;p=fontconfig.git diff --git a/doc/fcmatrix.fncs b/doc/fcmatrix.fncs index ada589b..a53ade9 100644 --- a/doc/fcmatrix.fncs +++ b/doc/fcmatrix.fncs @@ -1,3 +1,28 @@ +/* + * fontconfig/doc/fcmatrix.fncs + * + * Copyright © 2003 Keith Packard + * + * Permission to use, copy, modify, distribute, and sell this software and its + * documentation for any purpose is hereby granted without fee, provided that + * the above copyright notice appear in all copies and that both that + * copyright notice and this permission notice appear in supporting + * documentation, and that the name of the author(s) not be used in + * advertising or publicity pertaining to distribution of the software without + * specific, written prior permission. The authors make no + * representations about the suitability of this software for any purpose. It + * is provided "as is" without express or implied warranty. + * + * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR + * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. + */ + +@RET@ void @FUNC@ FcMatrixInit @PURPOSE@ initialize an FcMatrix structure @TYPE1@ FcMatrix * @@ -46,9 +71,9 @@ the result in result. @PURPOSE@ Rotate a matrix @TYPE1@ FcMatrix * @ARG1@ matrix -@TYPE2@ double +@TYPE2@ double% @ARG2@ cos -@TYPE3@ double +@TYPE3@ double% @ARG3@ sin @DESC@ FcMatrixRotate rotates matrix @@ -65,18 +90,18 @@ matrix: @PURPOSE@ Scale a matrix @TYPE1@ FcMatrix * @ARG1@ matrix -@TYPE2@ double +@TYPE2@ double% @ARG2@ sx -@TYPE3@ double +@TYPE3@ double% @ARG3@ dy @DESC@ FcMatrixScale multiplies matrix x values by sx and y values by -sy. This is done by multiplying by +dy. This is done by multiplying by the matrix: sx 0 - 0 sy + 0 dy @@ @@ -84,9 +109,9 @@ the matrix: @PURPOSE@ Shear a matrix @TYPE1@ FcMatrix * @ARG1@ matrix -@TYPE2@ double +@TYPE2@ double% @ARG2@ sh -@TYPE3@ double +@TYPE3@ double% @ARG3@ sv @DESC@ FcMatrixShare shears matrix