ginPath();
            context.fillText((angle * 180 / Math.PI).toFixed(0),
                polygon.x + Math.cos(angle) * (radius - TICK_WIDTH*2),
                polygon.y + Math.sin(angle) * (radius - TICK_WIDTH*2));
        }
        context.restore();
    }

    function drawDegreeDialTicks(polygon) {
        var radius = polygon.radius + DEGREE_RING_MARGIN,
            ANGLE_MAX = 2*Math.PI,
            ANGLE_DELTA = Math.PI/64;

        context.save();

        for (var angle = 0, cnt = 0; angle < ANG