summaryrefslogtreecommitdiff
path: root/src/drv/cdps.c
diff options
context:
space:
mode:
authorscuri <scuri>2010-05-28 00:12:50 +0000
committerscuri <scuri>2010-05-28 00:12:50 +0000
commitc342fa4c3480daedd9580082c07cb6ad2b35a6ef (patch)
treed2f50cf8ceabcbe4e898126cf8fb9e5f5b94e555 /src/drv/cdps.c
parentb13afc2e6f0811cc14532c4f1060bc73b6053df4 (diff)
*** empty log message ***
Diffstat (limited to 'src/drv/cdps.c')
-rw-r--r--src/drv/cdps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drv/cdps.c b/src/drv/cdps.c
index ce45397..b651994 100644
--- a/src/drv/cdps.c
+++ b/src/drv/cdps.c
@@ -624,6 +624,8 @@ static void cdarc(cdCtxCanvas *ctxcanvas, int xc, int yc, int w, int h, double a
{
sUpdateFill(ctxcanvas, 0);
+ /* angles in degrees counterclockwise, same as CD */
+
if (w==h) /* Circulo: PS implementa direto */
{
fprintf(ctxcanvas->file, "N %d %d %g %g %g arc S\n", xc, yc, 0.5*w, a1, a2);