The R Project SVN R

Rev

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

Rev 78197 Rev 78759
Line 358... Line 358...
358
     * device_NewPage is called whenever a new plot requires
358
     * device_NewPage is called whenever a new plot requires
359
     * a new page.
359
     * a new page.
360
     * A new page might mean just clearing the
360
     * A new page might mean just clearing the
361
     * device (e.g., X11) or moving to a new page
361
     * device (e.g., X11) or moving to a new page
362
     * (e.g., postscript)
362
     * (e.g., postscript)
-
 
363
     * The background of the new page should be filled with gc->fill
-
 
364
     * (if that is opaque).
363
     * An example is ...
365
     * An example is ...
364
     *
366
     *
365
     *
-
 
366
     * static void X11_NewPage(const pGEcontext gc,
367
     * static void X11_NewPage(const pGEcontext gc,
367
     *                         pDevDesc dd);
368
     *                         pDevDesc dd);
368
     *
369
     *
369
     */
370
     */
370
#if R_USE_PROTOTYPES
371
#if R_USE_PROTOTYPES
Line 673... Line 674...
673
    int haveTransparency; /* 1 = no, 2 = yes */
674
    int haveTransparency; /* 1 = no, 2 = yes */
674
    int haveTransparentBg; /* 1 = no, 2 = fully, 3 = semi */
675
    int haveTransparentBg; /* 1 = no, 2 = fully, 3 = semi */
675
    int haveRaster; /* 1 = no, 2 = yes, 3 = except for missing values */
676
    int haveRaster; /* 1 = no, 2 = yes, 3 = except for missing values */
676
    int haveCapture, haveLocator;  /* 1 = no, 2 = yes */
677
    int haveCapture, haveLocator;  /* 1 = no, 2 = yes */
677
 
678
 
-
 
679
#if R_USE_PROTOTYPES
-
 
680
    SEXP (*setPattern)(SEXP pattern, pDevDesc dd);
-
 
681
#else
-
 
682
    SEXP (*setPattern)();
-
 
683
#endif
-
 
684
 
-
 
685
#if R_USE_PROTOTYPES
-
 
686
    void (*releasePattern)(SEXP ref, pDevDesc dd);
-
 
687
#else
-
 
688
    void (*releasePattern)();
-
 
689
#endif
-
 
690
 
-
 
691
#if R_USE_PROTOTYPES
-
 
692
    SEXP (*setClipPath)(SEXP path, SEXP ref, pDevDesc dd);
-
 
693
#else
-
 
694
    SEXP (*setClipPath)();
-
 
695
#endif
-
 
696
 
-
 
697
#if R_USE_PROTOTYPES
-
 
698
    void (*releaseClipPath)(SEXP ref, pDevDesc dd);
-
 
699
#else
-
 
700
    void (*releaseClipPath)();
-
 
701
#endif
-
 
702
 
-
 
703
#if R_USE_PROTOTYPES
-
 
704
    SEXP (*setMask)(SEXP path, SEXP ref, pDevDesc dd);
-
 
705
#else
-
 
706
    SEXP (*setMask)();
-
 
707
#endif
-
 
708
 
-
 
709
#if R_USE_PROTOTYPES
-
 
710
    void (*releaseMask)(SEXP ref, pDevDesc dd);
-
 
711
#else
-
 
712
    void (*releaseMask)();
-
 
713
#endif
-
 
714
 
-
 
715
    /* This should match R_GE_version,
-
 
716
     * BUT it does not have to.
-
 
717
     * It give the graphics engine a chance to work with 
-
 
718
     * graphics device packages BEFORE they update to 
-
 
719
     * changes in R_GE_version.
-
 
720
     */
-
 
721
    int deviceVersion;
678
 
722
 
679
    /* Area for future expansion.
723
    /* Area for future expansion.
680
       By zeroing this, devices are more likely to work if loaded
724
       By zeroing this, devices are more likely to work if loaded
681
       into a later version of R than that they were compiled under.
725
       into a later version of R than that they were compiled under.
682
    */
726
    */