The R Project SVN R

Rev

Rev 59173 | Rev 60260 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59173 Rev 59177
Line 2106... Line 2106...
2106
	    /* now join with extenders */
2106
	    /* now join with extenders */
2107
	    ytop = axisHeight + dist
2107
	    ytop = axisHeight + dist
2108
		- (bboxHeight(topBBox) + bboxDepth(topBBox));
2108
		- (bboxHeight(topBBox) + bboxDepth(topBBox));
2109
	    ybot = axisHeight - dist
2109
	    ybot = axisHeight - dist
2110
		+ (bboxHeight(botBBox) + bboxDepth(botBBox));
2110
		+ (bboxHeight(botBBox) + bboxDepth(botBBox));
2111
	    n = ceil((ytop - ybot) / (0.99 * extHeight));
2111
	    n = (int) ceil((ytop - ybot) / (0.99 * extHeight));
2112
	    if (n > 0) {
2112
	    if (n > 0) {
2113
		delta = (ytop - ybot) / n;
2113
		delta = (ytop - ybot) / n;
2114
		for (i = 0; i < n; i++) {
2114
		for (i = 0; i < n; i++) {
2115
		    PMoveTo(savedX, savedY + ybot +
2115
		    PMoveTo(savedX, savedY + ybot +
2116
			    (i + 0.5) * delta - extShift, mc);
2116
			    (i + 0.5) * delta - extShift, mc);