diff options
author | scuri <scuri> | 2010-05-28 00:12:50 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-05-28 00:12:50 +0000 |
commit | c342fa4c3480daedd9580082c07cb6ad2b35a6ef (patch) | |
tree | d2f50cf8ceabcbe4e898126cf8fb9e5f5b94e555 /src/gdk | |
parent | b13afc2e6f0811cc14532c4f1060bc73b6053df4 (diff) |
*** empty log message ***
Diffstat (limited to 'src/gdk')
-rw-r--r-- | src/gdk/cdgdk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gdk/cdgdk.c b/src/gdk/cdgdk.c index 8521d4e..56055a7 100644 --- a/src/gdk/cdgdk.c +++ b/src/gdk/cdgdk.c @@ -692,6 +692,8 @@ static void cdarc(cdCtxCanvas *ctxcanvas, int xc, int yc, int w, int h, double a return; } + /* angles in 1/64ths of degrees counterclockwise, similar to CD */ + cdgdkCheckSolidStyle(ctxcanvas, 1); gdk_draw_arc(ctxcanvas->wnd, ctxcanvas->gc, FALSE, xc-w/2, yc-h/2, w, h, cdRound(a1*64), cdRound((a2 - a1)*64)); cdgdkCheckSolidStyle(ctxcanvas, 0); |