summaryrefslogtreecommitdiff
path: root/src/drv/cdpicture.c
diff options
context:
space:
mode:
authorscuri <scuri>2010-05-27 02:53:08 +0000
committerscuri <scuri>2010-05-27 02:53:08 +0000
commitb13afc2e6f0811cc14532c4f1060bc73b6053df4 (patch)
tree290a877d7397eab85226b719254b6c4ca1b12147 /src/drv/cdpicture.c
parenta089059af0f396f778df1b56e0e292416bc35d6b (diff)
*** empty log message ***
Diffstat (limited to 'src/drv/cdpicture.c')
-rw-r--r--src/drv/cdpicture.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drv/cdpicture.c b/src/drv/cdpicture.c
index c77f042..f1d089a 100644
--- a/src/drv/cdpicture.c
+++ b/src/drv/cdpicture.c
@@ -766,6 +766,11 @@ static void cdfpoly(cdCtxCanvas *ctxcanvas, int mode, cdfPoint* poly, int n)
int i;
tPrimNode *prim;
if (mode == CD_CLIP || mode == CD_REGION) return;
+ if (mode == CD_PATH)
+ {
+ cdfpath(ctxcanvas, poly, n);
+ return;
+ }
prim = primCreate(CDPIC_FPOLY);
if (mode == CD_FILL)
primAddAttrib_Fill(prim, ctxcanvas->canvas);