mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-26 03:00:17 +01:00
Fixed XrPen stubs
This commit is contained in:
parent
2d8f2f4946
commit
f20a4a96c7
3 changed files with 10 additions and 2 deletions
|
|
@ -27,6 +27,7 @@ SRCS = xr.c \
|
|||
xrfiller.c \
|
||||
xrgstate.c \
|
||||
xrpath.c \
|
||||
xrpen.c \
|
||||
xrpolygon.c \
|
||||
xrspline.c \
|
||||
xrstate.c \
|
||||
|
|
@ -40,6 +41,7 @@ OBJS = xr.o \
|
|||
xrfiller.o \
|
||||
xrgstate.o \
|
||||
xrpath.o \
|
||||
xrpen.o \
|
||||
xrpolygon.o \
|
||||
xrspline.o \
|
||||
xrstate.o \
|
||||
|
|
|
|||
|
|
@ -29,12 +29,14 @@ XrError
|
|||
XrPenInit(XrPen *pen, double radius)
|
||||
{
|
||||
/* XXX: NYI */
|
||||
return XrErrorSuccess;
|
||||
}
|
||||
|
||||
XrError
|
||||
XrPenInitCopy(XrPen *pen, XrPen *other)
|
||||
{
|
||||
/* XXX: NYI */
|
||||
return XrErrorSuccess;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -50,8 +52,9 @@ XrPenAddPointsForSlopes(XrPen *pen, XPointFixed *a, XPointFixed *b, XPointFixed
|
|||
}
|
||||
|
||||
XrError
|
||||
XrPenStrokePoints(XrPen *pen, XPointDouble *pt, int num_pts, XrPolygon *polygon)
|
||||
XrPenStrokePoints(XrPen *pen, XPointFixed *pt, int num_pts, XrPolygon *polygon)
|
||||
{
|
||||
/* XXX: NYI */
|
||||
return XrErrorSuccess;
|
||||
}
|
||||
|
||||
|
|
|
|||
5
xrpen.c
5
xrpen.c
|
|
@ -29,12 +29,14 @@ XrError
|
|||
XrPenInit(XrPen *pen, double radius)
|
||||
{
|
||||
/* XXX: NYI */
|
||||
return XrErrorSuccess;
|
||||
}
|
||||
|
||||
XrError
|
||||
XrPenInitCopy(XrPen *pen, XrPen *other)
|
||||
{
|
||||
/* XXX: NYI */
|
||||
return XrErrorSuccess;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -50,8 +52,9 @@ XrPenAddPointsForSlopes(XrPen *pen, XPointFixed *a, XPointFixed *b, XPointFixed
|
|||
}
|
||||
|
||||
XrError
|
||||
XrPenStrokePoints(XrPen *pen, XPointDouble *pt, int num_pts, XrPolygon *polygon)
|
||||
XrPenStrokePoints(XrPen *pen, XPointFixed *pt, int num_pts, XrPolygon *polygon)
|
||||
{
|
||||
/* XXX: NYI */
|
||||
return XrErrorSuccess;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue