The R Project SVN R-packages

Rev

Rev 119 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 119 Rev 563
Line 614... Line 614...
614
 
614
 
615
/* set clipping */
615
/* set clipping */
616
static void GTK_Clip(double x0, double x1, double y0, double y1, NewDevDesc *dd)
616
static void GTK_Clip(double x0, double x1, double y0, double y1, NewDevDesc *dd)
617
{
617
{
618
    gtkDesc *gtkd = (gtkDesc *) dd->deviceSpecific;
618
    gtkDesc *gtkd = (gtkDesc *) dd->deviceSpecific;
-
 
619
    return;
619
 
620
 
620
    gtkd->clip.x = dd->clipLeft = (int) MIN(x0, x1);
621
    gtkd->clip.x = dd->clipLeft = (int) MIN(x0, x1);
621
    gtkd->clip.width = abs( (int) x0 - (int) x1) + 1;
622
    gtkd->clip.width = abs( (int) x0 - (int) x1) + 1;
622
    dd->clipRight = dd->clipLeft + gtkd->clip.width;
623
    dd->clipRight = dd->clipLeft + gtkd->clip.width;
623
 
624
 
Line 1103... Line 1104...
1103
    ps = 2 * (ps / 2);
1104
    ps = 2 * (ps / 2);
1104
    gtkd->fontface = -1;
1105
    gtkd->fontface = -1;
1105
    gtkd->fontsize = -1;
1106
    gtkd->fontsize = -1;
1106
    dd->startfont = 1; 
1107
    dd->startfont = 1; 
1107
    dd->startps = ps;
1108
    dd->startps = ps;
1108
    dd->startcol = 0;
1109
    dd->startcol = R_RGB(0, 0, 0);
1109
    dd->startfill = NA_INTEGER;
1110
    dd->startfill = NA_INTEGER;
1110
    dd->startlty = LTY_SOLID; 
1111
    dd->startlty = LTY_SOLID; 
1111
    dd->startgamma = 1;
1112
    dd->startgamma = 1;
1112
 
1113
 
1113
    /* device driver start */
1114
    /* device driver start */
Line 1224... Line 1225...
1224
    ps = 2 * (ps / 2);
1225
    ps = 2 * (ps / 2);
1225
    gtkd->fontface = -1;
1226
    gtkd->fontface = -1;
1226
    gtkd->fontsize = -1;
1227
    gtkd->fontsize = -1;
1227
    dd->startfont = 1; 
1228
    dd->startfont = 1; 
1228
    dd->startps = ps;
1229
    dd->startps = ps;
1229
    dd->startcol = 0;
1230
    dd->startcol = R_RGB(0, 0, 0);
1230
    dd->startfill = NA_INTEGER;
1231
    dd->startfill = NA_INTEGER;
1231
    dd->startlty = LTY_SOLID; 
1232
    dd->startlty = LTY_SOLID; 
1232
    dd->startgamma = 1;
1233
    dd->startgamma = 1;
1233
 
1234
 
1234
    /* device driver start */
1235
    /* device driver start */