diff --git a/src/xrpen.c b/src/xrpen.c new file mode 100644 index 000000000..6727cbadb --- /dev/null +++ b/src/xrpen.c @@ -0,0 +1,57 @@ +/* + * $XFree86: $ + * + * Copyright © 2002 Carl D. Worth + * + * 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 Carl + * D. Worth not be used in advertising or publicity pertaining to + * distribution of the software without specific, written prior + * permission. Carl D. Worth makes no representations about the + * suitability of this software for any purpose. It is provided "as + * is" without express or implied warranty. + * + * CARL D. WORTH DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS + * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS, IN NO EVENT SHALL CARL D. WORTH 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. + */ + +#include "xrint.h" + +XrError +XrPenInit(XrPen *pen, double radius) +{ + /* XXX: NYI */ +} + +XrError +XrPenInitCopy(XrPen *pen, XrPen *other) +{ + /* XXX: NYI */ +} + +void +XrPenDeinit(XrPen *pen) +{ + /* XXX: NYI */ +} + +void +XrPenAddPointsForSlopes(XrPen *pen, XPointFixed *a, XPointFixed *b, XPointFixed *c, XPointFixed *d) +{ + /* XXX: NYI */ +} + +XrError +XrPenStrokePoints(XrPen *pen, XPointDouble *pt, int num_pts, XrPolygon *polygon) +{ + /* XXX: NYI */ +} + diff --git a/src/xrspline.c b/src/xrspline.c new file mode 100644 index 000000000..2e2b71ae3 --- /dev/null +++ b/src/xrspline.c @@ -0,0 +1,47 @@ +/* + * $XFree86: $ + * + * Copyright © 2002 Carl D. Worth + * + * 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 Carl + * D. Worth not be used in advertising or publicity pertaining to + * distribution of the software without specific, written prior + * permission. Carl D. Worth makes no representations about the + * suitability of this software for any purpose. It is provided "as + * is" without express or implied warranty. + * + * CARL D. WORTH DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS + * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS, IN NO EVENT SHALL CARL D. WORTH 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. + */ + +#include "xrint.h" + +void +XrSplineInit(XrSpline *spline, XPointFixed *a, XPointFixed *b, XPointFixed *c, XPointFixed *d) +{ + /* XXX: NYI */ +} + +void +XrSplineDeinit(XrSpline *spline) +{ + /* XXX: NYI */ +} + +XrError +XrSplineDecompose(XrSpline *spline, double tolerance) +{ + /* XXX: NYI */ + return XrErrorSuccess; +} + + diff --git a/xrpen.c b/xrpen.c new file mode 100644 index 000000000..6727cbadb --- /dev/null +++ b/xrpen.c @@ -0,0 +1,57 @@ +/* + * $XFree86: $ + * + * Copyright © 2002 Carl D. Worth + * + * 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 Carl + * D. Worth not be used in advertising or publicity pertaining to + * distribution of the software without specific, written prior + * permission. Carl D. Worth makes no representations about the + * suitability of this software for any purpose. It is provided "as + * is" without express or implied warranty. + * + * CARL D. WORTH DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS + * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS, IN NO EVENT SHALL CARL D. WORTH 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. + */ + +#include "xrint.h" + +XrError +XrPenInit(XrPen *pen, double radius) +{ + /* XXX: NYI */ +} + +XrError +XrPenInitCopy(XrPen *pen, XrPen *other) +{ + /* XXX: NYI */ +} + +void +XrPenDeinit(XrPen *pen) +{ + /* XXX: NYI */ +} + +void +XrPenAddPointsForSlopes(XrPen *pen, XPointFixed *a, XPointFixed *b, XPointFixed *c, XPointFixed *d) +{ + /* XXX: NYI */ +} + +XrError +XrPenStrokePoints(XrPen *pen, XPointDouble *pt, int num_pts, XrPolygon *polygon) +{ + /* XXX: NYI */ +} + diff --git a/xrspline.c b/xrspline.c new file mode 100644 index 000000000..2e2b71ae3 --- /dev/null +++ b/xrspline.c @@ -0,0 +1,47 @@ +/* + * $XFree86: $ + * + * Copyright © 2002 Carl D. Worth + * + * 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 Carl + * D. Worth not be used in advertising or publicity pertaining to + * distribution of the software without specific, written prior + * permission. Carl D. Worth makes no representations about the + * suitability of this software for any purpose. It is provided "as + * is" without express or implied warranty. + * + * CARL D. WORTH DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS + * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS, IN NO EVENT SHALL CARL D. WORTH 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. + */ + +#include "xrint.h" + +void +XrSplineInit(XrSpline *spline, XPointFixed *a, XPointFixed *b, XPointFixed *c, XPointFixed *d) +{ + /* XXX: NYI */ +} + +void +XrSplineDeinit(XrSpline *spline) +{ + /* XXX: NYI */ +} + +XrError +XrSplineDecompose(XrSpline *spline, double tolerance) +{ + /* XXX: NYI */ + return XrErrorSuccess; +} + +